![]() |
F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
|
#include <Drv/LinuxI2cDriver/LinuxI2cDriver.hpp>
Public Member Functions | |
| LinuxI2cDriver (const char *const compName) | |
| void | init (const NATIVE_INT_TYPE instance=0) |
| bool | open (const char *device) |
| ~LinuxI2cDriver () | |
Public Member Functions inherited from Drv::LinuxI2cDriverComponentBase | |
| void | init (NATIVE_INT_TYPE instance=0) |
| Initialize LinuxI2cDriverComponentBase object. More... | |
| Drv::InputI2cPort * | get_read_InputPort (NATIVE_INT_TYPE portNum) |
| Drv::InputI2cPort * | get_write_InputPort (NATIVE_INT_TYPE portNum) |
| Drv::InputI2cWriteReadPort * | get_writeRead_InputPort (NATIVE_INT_TYPE portNum) |
Public Member Functions inherited from Fw::PassiveComponentBase | |
| void | setIdBase (const U32) |
| Set the ID base. More... | |
| U32 | getIdBase () const |
Additional Inherited Members | |
Protected Types inherited from Drv::LinuxI2cDriverComponentBase | |
| enum | { NUM_READ_INPUT_PORTS = 1 , NUM_WRITE_INPUT_PORTS = 1 , NUM_WRITEREAD_INPUT_PORTS = 1 } |
| Enumerations for numbers of typed input ports. More... | |
Protected Member Functions inherited from Drv::LinuxI2cDriverComponentBase | |
| LinuxI2cDriverComponentBase (const char *compName="") | |
| Construct LinuxI2cDriverComponentBase object. More... | |
| virtual | ~LinuxI2cDriverComponentBase () |
| Destroy LinuxI2cDriverComponentBase object. More... | |
| NATIVE_INT_TYPE | getNum_read_InputPorts () const |
| NATIVE_INT_TYPE | getNum_write_InputPorts () const |
| NATIVE_INT_TYPE | getNum_writeRead_InputPorts () const |
| Drv::I2cStatus | read_handlerBase (NATIVE_INT_TYPE portNum, U32 addr, Fw::Buffer &serBuffer) |
| Handler base-class function for input port read. More... | |
| Drv::I2cStatus | write_handlerBase (NATIVE_INT_TYPE portNum, U32 addr, Fw::Buffer &serBuffer) |
| Handler base-class function for input port write. More... | |
| Drv::I2cStatus | writeRead_handlerBase (NATIVE_INT_TYPE portNum, U32 addr, Fw::Buffer &writeBuffer, Fw::Buffer &readBuffer) |
| Handler base-class function for input port writeRead. More... | |
| virtual void | lock () |
| Lock the guarded mutex. More... | |
| virtual void | unLock () |
| Unlock the guarded mutex. More... | |
Protected Member Functions inherited from Fw::PassiveComponentBase | |
| PassiveComponentBase (const char *name) | |
| Named constructor. More... | |
| virtual | ~PassiveComponentBase () |
| Destructor. More... | |
| void | init (NATIVE_INT_TYPE instance) |
| Initialization function. More... | |
| NATIVE_INT_TYPE | getInstance () const |
Protected Member Functions inherited from Fw::ObjBase | |
| ObjBase (const char *name) | |
| ObjBase constructor. More... | |
| virtual | ~ObjBase () |
| Destructor. More... | |
| void | init () |
| Object initializer. More... | |
Definition at line 20 of file LinuxI2cDriver.hpp.
| Drv::LinuxI2cDriver::LinuxI2cDriver | ( | const char *const | compName | ) |
Construct object LinuxI2cDriver
Definition at line 33 of file LinuxI2cDriver.cpp.
| Drv::LinuxI2cDriver::~LinuxI2cDriver | ( | ) |
Destroy object LinuxI2cDriver
Definition at line 50 of file LinuxI2cDriver.cpp.
| void Drv::LinuxI2cDriver::init | ( | const NATIVE_INT_TYPE | instance = 0 | ) |
Initialize object LinuxI2cDriver
| instance | The instance number |
Definition at line 42 of file LinuxI2cDriver.cpp.
| bool Drv::LinuxI2cDriver::open | ( | const char * | device | ) |
Definition at line 58 of file LinuxI2cDriver.cpp.