Auto-generated base for LinuxI2cDriver component.
More...
#include <Drv/LinuxI2cDriver/LinuxI2cDriverComponentAc.hpp>
|
| | 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 |
| |
| virtual Drv::I2cStatus | read_handler (NATIVE_INT_TYPE portNum, U32 addr, Fw::Buffer &serBuffer)=0 |
| | Handler for input port read. More...
|
| |
| virtual Drv::I2cStatus | write_handler (NATIVE_INT_TYPE portNum, U32 addr, Fw::Buffer &serBuffer)=0 |
| | Handler for input port write. More...
|
| |
| virtual Drv::I2cStatus | writeRead_handler (NATIVE_INT_TYPE portNum, U32 addr, Fw::Buffer &writeBuffer, Fw::Buffer &readBuffer)=0 |
| | Handler for input port writeRead. More...
|
| |
| 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...
|
| |
| | 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 |
| |
| | ObjBase (const char *name) |
| | ObjBase constructor. More...
|
| |
| virtual | ~ObjBase () |
| | Destructor. More...
|
| |
| void | init () |
| | Object initializer. More...
|
| |
Auto-generated base for LinuxI2cDriver component.
Definition at line 22 of file LinuxI2cDriverComponentAc.hpp.
◆ anonymous enum
Enumerations for numbers of typed input ports.
| Enumerator |
|---|
| NUM_READ_INPUT_PORTS | |
| NUM_WRITE_INPUT_PORTS | |
| NUM_WRITEREAD_INPUT_PORTS | |
Definition at line 40 of file LinuxI2cDriverComponentAc.hpp.
◆ LinuxI2cDriverComponentBase()
| Drv::LinuxI2cDriverComponentBase::LinuxI2cDriverComponentBase |
( |
const char * |
compName = "" | ) |
|
|
protected |
◆ ~LinuxI2cDriverComponentBase()
| Drv::LinuxI2cDriverComponentBase::~LinuxI2cDriverComponentBase |
( |
| ) |
|
|
protectedvirtual |
◆ get_read_InputPort()
◆ get_write_InputPort()
◆ get_writeRead_InputPort()
◆ getNum_read_InputPorts()
| NATIVE_INT_TYPE Drv::LinuxI2cDriverComponentBase::getNum_read_InputPorts |
( |
| ) |
const |
|
protected |
◆ getNum_write_InputPorts()
| NATIVE_INT_TYPE Drv::LinuxI2cDriverComponentBase::getNum_write_InputPorts |
( |
| ) |
const |
|
protected |
◆ getNum_writeRead_InputPorts()
| NATIVE_INT_TYPE Drv::LinuxI2cDriverComponentBase::getNum_writeRead_InputPorts |
( |
| ) |
const |
|
protected |
◆ init()
| void Drv::LinuxI2cDriverComponentBase::init |
( |
NATIVE_INT_TYPE |
instance = 0 | ) |
|
◆ lock()
| void Drv::LinuxI2cDriverComponentBase::lock |
( |
| ) |
|
|
protectedvirtual |
◆ read_handler()
Handler for input port read.
- Parameters
-
| portNum | The port number |
| addr | I2C slave device address |
| serBuffer | Buffer with data to read/write to/from |
◆ read_handlerBase()
Handler base-class function for input port read.
- Parameters
-
| portNum | The port number |
| addr | I2C slave device address |
| serBuffer | Buffer with data to read/write to/from |
Definition at line 206 of file LinuxI2cDriverComponentAc.cpp.
◆ unLock()
| void Drv::LinuxI2cDriverComponentBase::unLock |
( |
| ) |
|
|
protectedvirtual |
◆ write_handler()
Handler for input port write.
- Parameters
-
| portNum | The port number |
| addr | I2C slave device address |
| serBuffer | Buffer with data to read/write to/from |
◆ write_handlerBase()
Handler base-class function for input port write.
- Parameters
-
| portNum | The port number |
| addr | I2C slave device address |
| serBuffer | Buffer with data to read/write to/from |
Definition at line 237 of file LinuxI2cDriverComponentAc.cpp.
◆ writeRead_handler()
Handler for input port writeRead.
- Parameters
-
| portNum | The port number |
| addr | I2C slave device address |
| writeBuffer | Buffer to write data to the i2c device |
| readBuffer | Buffer to read back data from the i2c device, must set size when passing in read buffer |
◆ writeRead_handlerBase()
Handler base-class function for input port writeRead.
- Parameters
-
| portNum | The port number |
| addr | I2C slave device address |
| writeBuffer | Buffer to write data to the i2c device |
| readBuffer | Buffer to read back data from the i2c device, must set size when passing in read buffer |
Definition at line 268 of file LinuxI2cDriverComponentAc.cpp.
◆ LinuxI2cDriverComponentBaseFriend
| friend class LinuxI2cDriverComponentBaseFriend |
|
friend |
The documentation for this class was generated from the following files: