Auto-generated base for LinuxSpiDriver component.
More...
#include <Drv/LinuxSpiDriver/LinuxSpiDriverComponentAc.hpp>
|
| LinuxSpiDriverComponentBase (const char *compName="") |
| Construct LinuxSpiDriverComponentBase object. More...
|
|
virtual | ~LinuxSpiDriverComponentBase () |
| Destroy LinuxSpiDriverComponentBase object. More...
|
|
NATIVE_INT_TYPE | getNum_SpiReadWrite_InputPorts () const |
|
NATIVE_INT_TYPE | getNum_Log_OutputPorts () const |
|
NATIVE_INT_TYPE | getNum_Time_OutputPorts () const |
|
NATIVE_INT_TYPE | getNum_Tlm_OutputPorts () const |
|
bool | isConnected_Log_OutputPort (NATIVE_INT_TYPE portNum) |
|
bool | isConnected_Time_OutputPort (NATIVE_INT_TYPE portNum) |
|
bool | isConnected_Tlm_OutputPort (NATIVE_INT_TYPE portNum) |
|
virtual void | SpiReadWrite_handler (NATIVE_INT_TYPE portNum, Fw::Buffer &writeBuffer, Fw::Buffer &readBuffer)=0 |
| Handler for input port SpiReadWrite. More...
|
|
void | SpiReadWrite_handlerBase (NATIVE_INT_TYPE portNum, Fw::Buffer &writeBuffer, Fw::Buffer &readBuffer) |
| Handler base-class function for input port SpiReadWrite. More...
|
|
void | log_WARNING_HI_SPI_OpenError (I32 device, I32 select, I32 error) |
|
void | log_WARNING_HI_SPI_ConfigError (I32 device, I32 select, I32 error) |
|
void | log_WARNING_HI_SPI_WriteError (I32 device, I32 select, I32 error) |
|
void | log_ACTIVITY_HI_SPI_PortOpened (I32 device, I32 select) |
|
void | log_WARNING_HI_SPI_WriteError_ThrottleClear () |
| Reset throttle value for SPI_WriteError. More...
|
|
void | tlmWrite_SPI_Bytes (U32 arg, Fw::Time _tlmTime=Fw::Time()) |
|
Fw::Time | getTime () |
|
| 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 LinuxSpiDriver component.
Definition at line 28 of file LinuxSpiDriverComponentAc.hpp.
◆ anonymous enum
◆ anonymous enum
Enumerations for numbers of special output ports.
Enumerator |
---|
NUM_LOG_OUTPUT_PORTS | |
NUM_LOGTEXT_OUTPUT_PORTS | |
NUM_TIME_OUTPUT_PORTS | |
NUM_TLM_OUTPUT_PORTS | |
Definition at line 51 of file LinuxSpiDriverComponentAc.hpp.
◆ anonymous enum
Event IDs.
Enumerator |
---|
EVENTID_SPI_OPENERROR | SPI open error.
|
EVENTID_SPI_CONFIGERROR | SPI config error.
|
EVENTID_SPI_WRITEERROR | SPI write error.
|
EVENTID_SPI_PORTOPENED | SPI open notification.
|
Definition at line 59 of file LinuxSpiDriverComponentAc.hpp.
◆ anonymous enum
Event throttle values: sets initial value of countdown variables.
Enumerator |
---|
EVENTID_SPI_WRITEERROR_THROTTLE | Throttle reset count for SPI_WriteError.
|
Definition at line 67 of file LinuxSpiDriverComponentAc.hpp.
◆ anonymous enum
◆ LinuxSpiDriverComponentBase()
Drv::LinuxSpiDriverComponentBase::LinuxSpiDriverComponentBase |
( |
const char * |
compName = "" | ) |
|
|
protected |
◆ ~LinuxSpiDriverComponentBase()
Drv::LinuxSpiDriverComponentBase::~LinuxSpiDriverComponentBase |
( |
| ) |
|
|
protectedvirtual |
◆ get_SpiReadWrite_InputPort()
◆ getNum_Log_OutputPorts()
NATIVE_INT_TYPE Drv::LinuxSpiDriverComponentBase::getNum_Log_OutputPorts |
( |
| ) |
const |
|
protected |
◆ getNum_SpiReadWrite_InputPorts()
NATIVE_INT_TYPE Drv::LinuxSpiDriverComponentBase::getNum_SpiReadWrite_InputPorts |
( |
| ) |
const |
|
protected |
◆ getNum_Time_OutputPorts()
NATIVE_INT_TYPE Drv::LinuxSpiDriverComponentBase::getNum_Time_OutputPorts |
( |
| ) |
const |
|
protected |
◆ getNum_Tlm_OutputPorts()
NATIVE_INT_TYPE Drv::LinuxSpiDriverComponentBase::getNum_Tlm_OutputPorts |
( |
| ) |
const |
|
protected |
◆ getTime()
Fw::Time Drv::LinuxSpiDriverComponentBase::getTime |
( |
| ) |
|
|
protected |
◆ init()
void Drv::LinuxSpiDriverComponentBase::init |
( |
NATIVE_INT_TYPE |
instance = 0 | ) |
|
◆ isConnected_Log_OutputPort()
bool Drv::LinuxSpiDriverComponentBase::isConnected_Log_OutputPort |
( |
NATIVE_INT_TYPE |
portNum | ) |
|
|
protected |
◆ isConnected_Time_OutputPort()
bool Drv::LinuxSpiDriverComponentBase::isConnected_Time_OutputPort |
( |
NATIVE_INT_TYPE |
portNum | ) |
|
|
protected |
◆ isConnected_Tlm_OutputPort()
bool Drv::LinuxSpiDriverComponentBase::isConnected_Tlm_OutputPort |
( |
NATIVE_INT_TYPE |
portNum | ) |
|
|
protected |
◆ log_ACTIVITY_HI_SPI_PortOpened()
void Drv::LinuxSpiDriverComponentBase::log_ACTIVITY_HI_SPI_PortOpened |
( |
I32 |
device, |
|
|
I32 |
select |
|
) |
| |
|
protected |
◆ log_WARNING_HI_SPI_ConfigError()
void Drv::LinuxSpiDriverComponentBase::log_WARNING_HI_SPI_ConfigError |
( |
I32 |
device, |
|
|
I32 |
select, |
|
|
I32 |
error |
|
) |
| |
|
protected |
Log event SPI_ConfigError
SPI config error
- Parameters
-
device | The device |
select | The chip select |
error | The error code |
Definition at line 585 of file LinuxSpiDriverComponentAc.cpp.
◆ log_WARNING_HI_SPI_OpenError()
void Drv::LinuxSpiDriverComponentBase::log_WARNING_HI_SPI_OpenError |
( |
I32 |
device, |
|
|
I32 |
select, |
|
|
I32 |
error |
|
) |
| |
|
protected |
Log event SPI_OpenError
SPI open error
- Parameters
-
device | The device |
select | The chip select |
error | The error code |
Definition at line 459 of file LinuxSpiDriverComponentAc.cpp.
◆ log_WARNING_HI_SPI_WriteError()
void Drv::LinuxSpiDriverComponentBase::log_WARNING_HI_SPI_WriteError |
( |
I32 |
device, |
|
|
I32 |
select, |
|
|
I32 |
error |
|
) |
| |
|
protected |
Log event SPI_WriteError
SPI write error
- Parameters
-
device | The device |
select | The chip select |
error | The error code |
Definition at line 711 of file LinuxSpiDriverComponentAc.cpp.
◆ log_WARNING_HI_SPI_WriteError_ThrottleClear()
void Drv::LinuxSpiDriverComponentBase::log_WARNING_HI_SPI_WriteError_ThrottleClear |
( |
| ) |
|
|
protected |
◆ set_Log_OutputPort()
◆ set_Time_OutputPort()
◆ set_Tlm_OutputPort()
◆ SpiReadWrite_handler()
Handler for input port SpiReadWrite.
- Parameters
-
◆ SpiReadWrite_handlerBase()
◆ tlmWrite_SPI_Bytes()
void Drv::LinuxSpiDriverComponentBase::tlmWrite_SPI_Bytes |
( |
U32 |
arg, |
|
|
Fw::Time |
_tlmTime = Fw::Time() |
|
) |
| |
|
protected |
Write telemetry channel SPI_Bytes
Bytes Sent/Received
- Parameters
-
arg | The telemetry value |
_tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 968 of file LinuxSpiDriverComponentAc.cpp.
◆ LinuxSpiDriverComponentBaseFriend
friend class LinuxSpiDriverComponentBaseFriend |
|
friend |
The documentation for this class was generated from the following files: