OceanDirect  1.30.1-rc.4
OceanDirect C++/C API
oceandirect::api::GpioFeatureAdapter Class Reference
Inheritance diagram for oceandirect::api::GpioFeatureAdapter:
Collaboration diagram for oceandirect::api::GpioFeatureAdapter:

Public Member Functions

 GpioFeatureAdapter (GpioFeatureInterface *intf, const FeatureFamily &f, Protocol *p, Bus *b, unsigned short instanceIndex)
 
int getNumberOfGPIO (int *errorCode)
 
std::uint32_t getOutputEnable (int *errorCode)
 
bool getOutputEnable (int *errorCode, int bit)
 
std::uint32_t getValue (int *errorCode)
 
bool getValue (int *errorCode, int bit)
 
uint32_t gpioGetOutputAlternate (int *errorCode)
 
bool gpioGetOutputAlternate (int *errorCode, int bit)
 
void gpioSetOutputAlternate (int *errorCode, int bit, bool isAlternate)
 
void gpioSetOutputAlternate (int *errorCode, uint32_t bitMask)
 
void setOutputEnable (int *errorCode, std::uint32_t bitPosition, bool isOutput)
 
void setOutputEnable (int *errorCode, std::uint32_t bits, std::uint32_t bitmask)
 
void setValue (int *errorCode, std::uint32_t bitmask)
 
void setValue (int *errorCode, std::uint32_t bitPosition, bool value)
 
void setValue (int *errorCode, std::uint32_t bits, std::uint32_t bitmask)
 
- Public Member Functions inherited from oceandirect::api::FeatureAdapterTemplate< GpioFeatureInterface >
 FeatureAdapterTemplate (GpioFeatureInterface *featureInterface, const FeatureFamily &f, Protocol *p, Bus *b, unsigned short instanceIndex)
 
GpioFeatureInterface * getFeature ()
 
virtual FeatureFamily & getFeatureFamily ()
 
virtual long getID ()
 

Additional Inherited Members

- Protected Attributes inherited from oceandirect::api::FeatureAdapterTemplate< GpioFeatureInterface >
Bus * bus
 
FeatureFamily family
 
GpioFeatureInterface * feature
 
unsigned long ID
 
unsigned short index
 
Protocol * protocol
 

The documentation for this class was generated from the following files: