AMS Advanced Air Mobility Sensors UG
Loading...
Searching...
No Matches
CRs232OutputHandler Class Reference

RS232 Output Handler software component. More...

Inheritance diagram for CRs232OutputHandler:
CSoftwareComponent< CRs232OutputHandler, 1U >

Public Member Functions

void QueueTransmissionRequest (CSerialProtocol::EMessageIds eMessageId)
 Put message transmission request into the queue of the sender task. The function does not make a snapshot of the data to be sent.
 
void SendInertialDataMessage ()
 Compose and send an inertial data message.
 
void SendTimeOfInertialDataMessage ()
 Compose and send a "time of inertial data" message.
 
void SendNavigationDataMessage ()
 Compose and send a navigation data message.
 
void SendTimeOfNavigationDataMessage ()
 Compose and send a "time of navigation data" message.
 
void SendAccuracyDataMessage ()
 Compose and send navigation data accuracy.
 
void SendTimeOfLatestSyncPulseMessage ()
 Compose and send the time of the latest pulse.
 
void SendSoftwareVersionMessage ()
 Compose and send the software version message.
 
bool TransmitMessage (uint8_t *upData, uint16_t uSize)
 Transmit data using DMA:
 
void UARTTxInterruptHandler (uint16_t uSize)
 DMA Transmission completed callback.
 
- Public Member Functions inherited from CSoftwareComponent< CRs232OutputHandler, 1U >
virtual void Init ()=0
 
virtual bool IsInitialized ()=0
 

Friends

class CSoftwareComponent< CRs232OutputHandler, 1U >
 

Additional Inherited Members

- Static Public Member Functions inherited from CSoftwareComponent< CRs232OutputHandler, 1U >
static CRs232OutputHandlerGetInstance (unsigned uInstanceIndex=0U)
 
- Static Public Attributes inherited from CSoftwareComponent< CRs232OutputHandler, 1U >
static constexpr unsigned skuInstanceCount_
 
- Protected Member Functions inherited from CSoftwareComponent< CRs232OutputHandler, 1U >
 CSoftwareComponent ()=default
 
 ~CSoftwareComponent ()=default
 

Detailed Description

RS232 Output Handler software component.

Member Function Documentation

◆ QueueTransmissionRequest()

void CRs232OutputHandler::QueueTransmissionRequest ( CSerialProtocol::EMessageIds  eMessageId)

Put message transmission request into the queue of the sender task. The function does not make a snapshot of the data to be sent.

Parameters
eMessageId

◆ SendAccuracyDataMessage()

void CRs232OutputHandler::SendAccuracyDataMessage ( )

Compose and send navigation data accuracy.

◆ SendInertialDataMessage()

void CRs232OutputHandler::SendInertialDataMessage ( )

Compose and send an inertial data message.

◆ SendNavigationDataMessage()

void CRs232OutputHandler::SendNavigationDataMessage ( )

Compose and send a navigation data message.

◆ SendSoftwareVersionMessage()

void CRs232OutputHandler::SendSoftwareVersionMessage ( )

Compose and send the software version message.

◆ SendTimeOfInertialDataMessage()

void CRs232OutputHandler::SendTimeOfInertialDataMessage ( )

Compose and send a "time of inertial data" message.

◆ SendTimeOfLatestSyncPulseMessage()

void CRs232OutputHandler::SendTimeOfLatestSyncPulseMessage ( )

Compose and send the time of the latest pulse.

◆ SendTimeOfNavigationDataMessage()

void CRs232OutputHandler::SendTimeOfNavigationDataMessage ( )

Compose and send a "time of navigation data" message.

◆ TransmitMessage()

bool CRs232OutputHandler::TransmitMessage ( uint8_t *  upData,
uint16_t  uSize 
)

Transmit data using DMA:

Parameters
upDataPointer to data.
uSizeNumber of bytes to be sent.
Returns
True if the packet was allocated successfully. False otherwise

◆ UARTTxInterruptHandler()

void CRs232OutputHandler::UARTTxInterruptHandler ( uint16_t  uSize)

DMA Transmission completed callback.

Parameters
uSizeNumber of bytes sent.

Friends And Related Function Documentation

◆ CSoftwareComponent< CRs232OutputHandler, 1U >

friend class CSoftwareComponent< CRs232OutputHandler, 1U >
friend

The documentation for this class was generated from the following files: