Mercurial > public > ostc4
diff Small_CPU/Inc/uart.h @ 1077:bd8ab302ef4a Icon_Integration
Added uart support for HUD:
the protocol implementation for the HUD has been added. It may be activated by the compile switch ENABLE_HUD_SUPPORT. Because the HUD will not mapped to the three classic o2 value display slots, the sensor data structure has been increased to the max number of devices => all devices may now raise device specific data.
| author | Ideenmodellierer |
|---|---|
| date | Mon, 02 Mar 2026 17:22:25 +0100 |
| parents | d9290c76b840 |
| children |
line wrap: on
line diff
--- a/Small_CPU/Inc/uart.h Sun Feb 22 21:23:57 2026 +0100 +++ b/Small_CPU/Inc/uart.h Mon Mar 02 17:22:25 2026 +0100 @@ -74,6 +74,9 @@ #ifdef ENABLE_SENTINEL_MODE void UART_HandleSentinelData(void); #endif +#ifdef ENABLE_HUD_SUPPORT +void UART_HandleHUDData(void); +#endif void UART_SetGnssCtrl(sUartComCtrl* pTarget); sUartComCtrl* UART_GetGnssCtrl(); void UART_clearRxBuffer(sUartComCtrl* pUartCtrl); @@ -81,6 +84,7 @@ uint8_t UART_isSentinelConnected(); void UART_setTargetChannel(uint8_t channel); void UART_MUX_SelectAddress(uint8_t muxAddress); +void UART_SendCmdRaw(const uint8_t *cmd, uint8_t cmdLength); void UART_SendCmdString(uint8_t *cmdString); void UART_SendCmdUbx(const uint8_t *cmd, uint8_t len); void UART_ReadData(uint8_t sensorType, uint8_t flush);
