![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
Output I2c port. More...
#include <Drv/Ports/I2cPortAc.hpp>
Public Member Functions | |
OutputI2cPort () | |
Constructor. More... | |
void | init () |
Initialization function. More... | |
void | addCallPort (InputI2cPort *callPort) |
Register an input port. More... | |
Drv::I2cStatus | invoke (U32 addr, Fw::Buffer &serBuffer) const |
Invoke a port interface. More... | |
![]() | |
bool | isConnected () const |
Additional Inherited Members | |
![]() | |
OutputPortBase () | |
virtual | ~OutputPortBase () |
void | init () override |
![]() | |
PortBase () | |
virtual | ~PortBase () |
![]() | |
ObjBase (const char *name) | |
ObjBase constructor. More... | |
virtual | ~ObjBase () |
Destructor. More... | |
void | init () |
Object initializer. More... | |
![]() | |
Fw::ObjBase * | m_connObj |
Output I2c port.
Definition at line 100 of file I2cPortAc.hpp.
Drv::OutputI2cPort::OutputI2cPort | ( | ) |
Constructor.
Definition at line 80 of file I2cPortAc.cpp.
void Drv::OutputI2cPort::addCallPort | ( | InputI2cPort * | callPort | ) |
Register an input port.
callPort | The input port |
Definition at line 94 of file I2cPortAc.cpp.
|
virtual |
Initialization function.
Reimplemented from Fw::PortBase.
Definition at line 88 of file I2cPortAc.cpp.
Drv::I2cStatus Drv::OutputI2cPort::invoke | ( | U32 | addr, |
Fw::Buffer & | serBuffer | ||
) | const |
Invoke a port interface.
addr | I2C slave device address |
serBuffer | Buffer with data to read/write to/from |
Definition at line 107 of file I2cPortAc.cpp.