![]() |
AMS Advanced Air Mobility Sensors UG
|
RS232 Output Handler software component. More...
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 CRs232OutputHandler & | GetInstance (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 | |
RS232 Output Handler software component.
| 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.
| eMessageId |
| void CRs232OutputHandler::SendAccuracyDataMessage | ( | ) |
Compose and send navigation data accuracy.
| void CRs232OutputHandler::SendInertialDataMessage | ( | ) |
Compose and send an inertial data message.
| void CRs232OutputHandler::SendNavigationDataMessage | ( | ) |
Compose and send a navigation data message.
| void CRs232OutputHandler::SendSoftwareVersionMessage | ( | ) |
Compose and send the software version message.
| void CRs232OutputHandler::SendTimeOfInertialDataMessage | ( | ) |
Compose and send a "time of inertial data" message.
| void CRs232OutputHandler::SendTimeOfLatestSyncPulseMessage | ( | ) |
Compose and send the time of the latest pulse.
| void CRs232OutputHandler::SendTimeOfNavigationDataMessage | ( | ) |
Compose and send a "time of navigation data" message.
| bool CRs232OutputHandler::TransmitMessage | ( | uint8_t * | upData, |
| uint16_t | uSize | ||
| ) |
Transmit data using DMA:
| upData | Pointer to data. |
| uSize | Number of bytes to be sent. |
| void CRs232OutputHandler::UARTTxInterruptHandler | ( | uint16_t | uSize | ) |
DMA Transmission completed callback.
| uSize | Number of bytes sent. |
|
friend |