7 #ifndef Drv_LinuxGpioDriverComponentAc_HPP
8 #define Drv_LinuxGpioDriverComponentAc_HPP
16 #if FW_ENABLE_TEXT_LOGGING == 1
116 #if FW_ENABLE_TEXT_LOGGING == 1
119 void set_LogText_OutputPort(
144 #if FW_PORT_SERIALIZATION
155 Fw::InputSerializePort* port
158 #if FW_ENABLE_TEXT_LOGGING == 1
161 void set_LogText_OutputPort(
163 Fw::InputSerializePort* port
171 Fw::InputSerializePort* port
176 #if FW_PORT_SERIALIZATION
187 Fw::InputSerializePort* port
200 const char* compName =
""
233 #if FW_ENABLE_TEXT_LOGGING == 1
271 #if FW_ENABLE_TEXT_LOGGING == 1
276 bool isConnected_LogText_OutputPort(
441 #if FW_ENABLE_TEXT_LOGGING == 1
PlatformIndexType FwIndexType
C++-compatible configuration header for fprime configuration.
Auto-generated base for LinuxGpioDriver component.
Drv::InputGpioWritePort * get_gpioWrite_InputPort(FwIndexType portNum)
void set_gpioInterrupt_OutputPort(FwIndexType portNum, Svc::InputCyclePort *port)
Connect port to gpioInterrupt[portNum].
FwIndexType getNum_gpioWrite_InputPorts() const
virtual ~LinuxGpioDriverComponentBase()
Destroy LinuxGpioDriverComponentBase object.
@ NUM_GPIOINTERRUPT_OUTPUT_PORTS
void log_DIAGNOSTIC_OpenChip(const Fw::StringBase &chip, const Fw::StringBase &chipLabel, U32 pin, const Fw::StringBase &pinMessage)
Log event OpenChip.
Drv::GpioStatus gpioRead_handlerBase(FwIndexType portNum, Fw::Logic &state)
Handler base-class function for input port gpioRead.
friend class LinuxGpioDriverComponentBaseFriend
Friend class for white-box testing.
void log_WARNING_HI_OpenPinError(const Fw::StringBase &chip, U32 pin, const Fw::StringBase &pinMessage, Os::FileStatus status)
Log event OpenPinError.
Drv::GpioStatus gpioWrite_handlerBase(FwIndexType portNum, const Fw::Logic &state)
Handler base-class function for input port gpioWrite.
void log_WARNING_HI_OpenChipError(const Fw::StringBase &chip, Os::FileStatus status)
Log event OpenChipError.
FwIndexType getNum_Log_OutputPorts() const
void log_WARNING_HI_InterruptReadError(U32 expected, U32 got)
Log event InterruptReadError.
void set_Time_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to Time[portNum].
Drv::InputGpioReadPort * get_gpioRead_InputPort(FwIndexType portNum)
FwIndexType getNum_gpioRead_InputPorts() const
@ NUM_GPIOREAD_INPUT_PORTS
@ NUM_GPIOWRITE_INPUT_PORTS
@ NUM_LOGTEXT_OUTPUT_PORTS
void log_WARNING_HI_PollingError(I32 error_number)
Log event PollingError.
FwIndexType getNum_gpioInterrupt_OutputPorts() const
void set_Log_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to Log[portNum].
bool isConnected_Time_OutputPort(FwIndexType portNum)
FwIndexType getNum_Time_OutputPorts() const
bool isConnected_gpioInterrupt_OutputPort(FwIndexType portNum)
bool isConnected_Log_OutputPort(FwIndexType portNum)
void gpioInterrupt_out(FwIndexType portNum, Os::RawTime &cycleStart)
Invoke output port gpioInterrupt.
@ EVENTID_INTERRUPTREADERROR
LinuxGpioDriverComponentBase(const char *compName="")
Construct LinuxGpioDriverComponentBase object.
virtual Drv::GpioStatus gpioWrite_handler(FwIndexType portNum, const Fw::Logic &state)=0
Handler for input port gpioWrite.
virtual Drv::GpioStatus gpioRead_handler(FwIndexType portNum, Fw::Logic &state)=0
Handler for input port gpioRead.
void init()
Object initializer.
FPP shadow-enum representing Os::File::Status.