◆ EDiagnosticModeStatus
| Enumerator |
|---|
| eDiagnosticModeStatusErrUART | |
| eDiagnosticModeStatusErrInvalidSize | |
| eDiagnosticModeStatusErrDataCorrupted | |
| eDiagnosticModeStatusNormal | |
| eDiagnosticModeStatusInDebug | |
◆ CDiagnosticMode() [1/2]
| CDiagnosticMode::CDiagnosticMode |
( |
| ) |
|
|
inlineprivate |
◆ CDiagnosticMode() [2/2]
◆ DiagnosticModeProcess()
| void CDiagnosticMode::DiagnosticModeProcess |
( |
| ) |
|
◆ diagnosticSend()
| bool CDiagnosticMode::diagnosticSend |
( |
| ) |
|
|
private |
Method: DiagnosticSend() Sends a message via UART using a pre-setted up handle.
◆ fillSendBuffer()
| void CDiagnosticMode::fillSendBuffer |
( |
const void * |
pBuffer, |
|
|
uint16_t |
uSize |
|
) |
| |
|
private |
◆ GetInstance()
◆ handlePacket()
Method: PacketAccepted() Sends a message confirming the successful packet processing by the device.
◆ isDiagnosticModeEnabled()
| bool CDiagnosticMode::isDiagnosticModeEnabled |
( |
| ) |
|
Method: IsDiagnosticModeEnabled() Returns true if device is working in Debug mode.
◆ operator=()
◆ SetUARTHandle()
| void CDiagnosticMode::SetUARTHandle |
( |
UART_HandleTypeDef * |
opUartHandle, |
|
|
DMA_HandleTypeDef * |
opDMAHandle |
|
) |
| |
Method: setUARTHandle() Sets the UART_HandleTypeDef handler to send messages via UART.
◆ uartDataParser()
| void CDiagnosticMode::uartDataParser |
( |
uint16_t |
uSize | ) |
|
|
inlineprivate |
Method: UARTDataParser() Packet data parser. Changes the mode of operation in case of successful package parsing.
◆ UARTRxInterruptHandler()
| void CDiagnosticMode::UARTRxInterruptHandler |
( |
uint16_t |
uSize | ) |
|
◆ auUartRxBuffer_
◆ auUartTxBuffer_
◆ eCurrState_
◆ opDmaHandle_
| DMA_HandleTypeDef* CDiagnosticMode::opDmaHandle_ { nullptr } |
|
private |
◆ opUartHandle_
| UART_HandleTypeDef* CDiagnosticMode::opUartHandle_ { nullptr } |
|
private |
◆ skuDiagnosticModeTimeoutUs_
| constexpr uint64_t CDiagnosticMode::skuDiagnosticModeTimeoutUs_ { 5000000 } |
|
staticconstexprprivate |
◆ skuRXBufferSize_
| constexpr uint16_t CDiagnosticMode::skuRXBufferSize_ { sizeof(URXPacketMaxSize) } |
|
staticconstexprprivate |
◆ skuTXBufferSize_
| constexpr uint16_t CDiagnosticMode::skuTXBufferSize_ { sizeof(UTXPacketMaxSize) } |
|
staticconstexprprivate |
◆ skuUARTSendTimeoutUs_
| constexpr uint64_t CDiagnosticMode::skuUARTSendTimeoutUs_ { 1000000 } |
|
staticconstexprprivate |
◆ uUartTxSendSize_
| uint16_t CDiagnosticMode::uUartTxSendSize_ { 0u } |
|
private |
The documentation for this class was generated from the following files: