SeaBreeze
FPGARegisterFeatureInterface.h
Go to the documentation of this file.
1 /***************************************************/
30 #ifndef SEABREEZE_FPGA_REGISTER_FEATURE_INTERFACE_H
31 #define SEABREEZE_FPGA_REGISTER_FEATURE_INTERFACE_H
32 
34 #include "common/buses/Bus.h"
36 
37 namespace seabreeze {
38 
40  public:
41  virtual ~FPGARegisterFeatureInterface() = 0;
42  virtual unsigned int readRegister(const Bus &bus, byte address)
43  throw (FeatureException) = 0;
44  virtual void writeRegister(const Bus &bus, byte address, unsigned int value)
45  throw (FeatureException) = 0;
46  virtual unsigned char getMajorVersion(const Bus &bus)
47  throw (FeatureException) = 0;
48  };
49 
50  inline FPGARegisterFeatureInterface::~FPGARegisterFeatureInterface() {}
51 }
52 
53 #endif
Definition: FPGARegisterFeatureInterface.h:39
Definition: FeatureException.h:43
Definition: Bus.h:48
Encapsulates all SeaBreeze classes.
Definition: DeviceFactory.h:42