SeaBreeze
FPGARegisterProtocolInterface.h
Go to the documentation of this file.
1 /***************************************************/
40 #ifndef SEABREEZE_FPGA_REGISTER_PROTOCOL_INTERFACE_H
41 #define SEABREEZE_FPGA_REGISTER_PROTOCOL_INTERFACE_H
42 
43 #include "common/SeaBreeze.h"
44 #include "common/buses/Bus.h"
47 
48 namespace seabreeze {
49 
51  public:
54  virtual unsigned int readRegister(const Bus &bus, byte address)
55  throw (ProtocolException) = 0;
56  virtual void writeRegister(const Bus &bus, byte address,
57  unsigned int value) throw (ProtocolException) = 0;
58  };
59 
60 }
61 
62 #endif
Definition: Protocol.h:44
Definition: FPGARegisterProtocolInterface.h:50
Definition: ProtocolException.h:44
Definition: Bus.h:48
Encapsulates all SeaBreeze classes.
Definition: DeviceFactory.h:42
Definition: ProtocolHelper.h:46