![]() |
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... | |
Public Member Functions inherited from Fw::PortBase | |
| bool | isConnected () const |
Additional Inherited Members | |
Protected Member Functions inherited from Fw::OutputPortBase | |
| OutputPortBase () | |
| virtual | ~OutputPortBase () |
| void | init () override |
Protected Member Functions inherited from Fw::PortBase | |
| PortBase () | |
| virtual | ~PortBase () |
Protected Member Functions inherited from Fw::ObjBase | |
| ObjBase (const char *name) | |
| ObjBase constructor. More... | |
| virtual | ~ObjBase () |
| Destructor. More... | |
| void | init () |
| Object initializer. More... | |
Protected Attributes inherited from Fw::PortBase | |
| 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.