7 #ifndef Drv_LinuxGpioDriverComponentAc_HPP 8 #define Drv_LinuxGpioDriverComponentAc_HPP 18 #if FW_ENABLE_TEXT_LOGGING == 1 120 #if FW_ENABLE_TEXT_LOGGING == 1 123 void set_LogText_OutputPort(
148 #if FW_PORT_SERIALIZATION 159 Fw::InputSerializePort* port
162 #if FW_ENABLE_TEXT_LOGGING == 1 165 void set_LogText_OutputPort(
167 Fw::InputSerializePort* port
175 Fw::InputSerializePort* port
180 #if FW_PORT_SERIALIZATION 191 Fw::InputSerializePort* port
204 const char* compName =
"" 237 #if FW_ENABLE_TEXT_LOGGING == 1 275 #if FW_ENABLE_TEXT_LOGGING == 1 280 bool isConnected_LogText_OutputPort(
445 #if FW_ENABLE_TEXT_LOGGING == 1
Drv::InputGpioReadPort * get_gpioRead_InputPort(FwIndexType portNum)
bool isConnected_gpioInterrupt_OutputPort(FwIndexType portNum)
Drv::InputGpioWritePort * get_gpioWrite_InputPort(FwIndexType portNum)
FwIndexType getNum_Time_OutputPorts() const
void log_WARNING_HI_InterruptReadError(U32 expected, U32 got) const
Log event InterruptReadError.
LinuxGpioDriverComponentBase(const char *compName="")
Construct LinuxGpioDriverComponentBase object.
void set_gpioInterrupt_OutputPort(FwIndexType portNum, Svc::InputCyclePort *port)
Connect port to gpioInterrupt[portNum].
Drv::GpioStatus gpioWrite_handlerBase(FwIndexType portNum, const Fw::Logic &state)
Handler base-class function for input port gpioWrite.
virtual Drv::GpioStatus gpioWrite_handler(FwIndexType portNum, const Fw::Logic &state)=0
Handler for input port gpioWrite.
void log_WARNING_HI_OpenPinError(const Fw::StringBase &chip, U32 pin, const Fw::StringBase &pinMessage, Os::FileStatus status) const
Log event OpenPinError.
virtual Drv::GpioStatus gpioRead_handler(FwIndexType portNum, Fw::Logic &state)=0
Handler for input port gpioRead.
void init()
Object initializer.
FwIndexType getNum_gpioRead_InputPorts() const
void set_Time_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to Time[portNum].
Drv::GpioStatus gpioRead_handlerBase(FwIndexType portNum, Fw::Logic &state)
Handler base-class function for input port gpioRead.
bool isConnected_Log_OutputPort(FwIndexType portNum)
Auto-generated base for LinuxGpioDriver component.
bool isConnected_Time_OutputPort(FwIndexType portNum)
void log_WARNING_HI_OpenChipError(const Fw::StringBase &chip, Os::FileStatus status) const
Log event OpenChipError.
void log_DIAGNOSTIC_OpenChip(const Fw::StringBase &chip, const Fw::StringBase &chipLabel, U32 pin, const Fw::StringBase &pinMessage) const
Log event OpenChip.
void gpioInterrupt_out(FwIndexType portNum, Os::RawTime &cycleStart)
Invoke output port gpioInterrupt.
FwIndexType getNum_gpioWrite_InputPorts() const
void set_Log_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to Log[portNum].
PlatformIndexType FwIndexType
void log_WARNING_HI_PollingError(I32 error_number) const
Log event PollingError.
FwIndexType getNum_Log_OutputPorts() const
friend class LinuxGpioDriverTesterBase
Friend class tester to support autocoded test harness.
FwIndexType getNum_gpioInterrupt_OutputPorts() const
virtual ~LinuxGpioDriverComponentBase()
Destroy LinuxGpioDriverComponentBase object.
FPP shadow-enum representing Os::File::Status.
friend class LinuxGpioDriverComponentBaseFriend
Friend class for white-box testing.