7 #ifndef Drv_LinuxSpiDriverComponentAc_HPP
8 #define Drv_LinuxSpiDriverComponentAc_HPP
15 #if FW_ENABLE_TEXT_LOGGING == 1
112 #if FW_ENABLE_TEXT_LOGGING == 1
115 void set_LogText_OutputPort(
134 #if FW_PORT_SERIALIZATION
145 Fw::InputSerializePort* port
148 #if FW_ENABLE_TEXT_LOGGING == 1
151 void set_LogText_OutputPort(
153 Fw::InputSerializePort* port
161 Fw::InputSerializePort* port
167 Fw::InputSerializePort* port
180 const char* compName =
""
208 #if FW_ENABLE_TEXT_LOGGING == 1
240 #if FW_ENABLE_TEXT_LOGGING == 1
245 bool isConnected_LogText_OutputPort(
375 static void m_p_SpiReadWrite_in(
400 #if FW_ENABLE_TEXT_LOGGING == 1
PlatformIndexType FwIndexType
C++-compatible configuration header for fprime configuration.
Auto-generated base for LinuxSpiDriver component.
void log_WARNING_HI_SPI_WriteError(I32 device, I32 select, I32 error)
FwIndexType getNum_Log_OutputPorts() const
FwIndexType getNum_Tlm_OutputPorts() const
void set_Time_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to Time[portNum].
void set_Tlm_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to Tlm[portNum].
LinuxSpiDriverComponentBase(const char *compName="")
Construct LinuxSpiDriverComponentBase object.
void tlmWrite_SPI_Bytes(U32 arg, Fw::Time _tlmTime=Fw::Time())
void log_WARNING_HI_SPI_WriteError_ThrottleClear()
Reset throttle value for SPI_WriteError.
Drv::InputSpiReadWritePort * get_SpiReadWrite_InputPort(FwIndexType portNum)
@ NUM_LOGTEXT_OUTPUT_PORTS
void log_WARNING_HI_SPI_ConfigError(I32 device, I32 select, I32 error)
FwIndexType getNum_Time_OutputPorts() const
FwIndexType getNum_SpiReadWrite_InputPorts() const
@ EVENTID_SPI_OPENERROR
SPI open error.
@ EVENTID_SPI_CONFIGERROR
SPI config error.
@ EVENTID_SPI_WRITEERROR
SPI write error.
@ EVENTID_SPI_PORTOPENED
SPI open notification.
bool isConnected_Tlm_OutputPort(FwIndexType portNum)
void log_ACTIVITY_HI_SPI_PortOpened(I32 device, I32 select)
@ CHANNELID_SPI_BYTES
Channel ID for SPI_Bytes.
bool isConnected_Log_OutputPort(FwIndexType portNum)
friend class LinuxSpiDriverComponentBaseFriend
Friend class for white-box testing.
bool isConnected_Time_OutputPort(FwIndexType portNum)
@ EVENTID_SPI_WRITEERROR_THROTTLE
Throttle reset count for SPI_WriteError.
@ NUM_SPIREADWRITE_INPUT_PORTS
virtual ~LinuxSpiDriverComponentBase()
Destroy LinuxSpiDriverComponentBase object.
virtual void SpiReadWrite_handler(FwIndexType portNum, Fw::Buffer &writeBuffer, Fw::Buffer &readBuffer)=0
Handler for input port SpiReadWrite.
void set_Log_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to Log[portNum].
void SpiReadWrite_handlerBase(FwIndexType portNum, Fw::Buffer &writeBuffer, Fw::Buffer &readBuffer)
Handler base-class function for input port SpiReadWrite.
void log_WARNING_HI_SPI_OpenError(I32 device, I32 select, I32 error)
void init()
Object initializer.