comparison 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
comparison
equal deleted inserted replaced
1076:c87753e73eb8 1077:bd8ab302ef4a
72 void UART_HandleGnssData(void); 72 void UART_HandleGnssData(void);
73 #endif 73 #endif
74 #ifdef ENABLE_SENTINEL_MODE 74 #ifdef ENABLE_SENTINEL_MODE
75 void UART_HandleSentinelData(void); 75 void UART_HandleSentinelData(void);
76 #endif 76 #endif
77 #ifdef ENABLE_HUD_SUPPORT
78 void UART_HandleHUDData(void);
79 #endif
77 void UART_SetGnssCtrl(sUartComCtrl* pTarget); 80 void UART_SetGnssCtrl(sUartComCtrl* pTarget);
78 sUartComCtrl* UART_GetGnssCtrl(); 81 sUartComCtrl* UART_GetGnssCtrl();
79 void UART_clearRxBuffer(sUartComCtrl* pUartCtrl); 82 void UART_clearRxBuffer(sUartComCtrl* pUartCtrl);
80 uint8_t UART_isCO2Connected(); 83 uint8_t UART_isCO2Connected();
81 uint8_t UART_isSentinelConnected(); 84 uint8_t UART_isSentinelConnected();
82 void UART_setTargetChannel(uint8_t channel); 85 void UART_setTargetChannel(uint8_t channel);
83 void UART_MUX_SelectAddress(uint8_t muxAddress); 86 void UART_MUX_SelectAddress(uint8_t muxAddress);
87 void UART_SendCmdRaw(const uint8_t *cmd, uint8_t cmdLength);
84 void UART_SendCmdString(uint8_t *cmdString); 88 void UART_SendCmdString(uint8_t *cmdString);
85 void UART_SendCmdUbx(const uint8_t *cmd, uint8_t len); 89 void UART_SendCmdUbx(const uint8_t *cmd, uint8_t len);
86 void UART_ReadData(uint8_t sensorType, uint8_t flush); 90 void UART_ReadData(uint8_t sensorType, uint8_t flush);
87 void UART_WriteData(sUartComCtrl* pUartCtrl); 91 void UART_WriteData(sUartComCtrl* pUartCtrl);
88 void UART_ChangeBaudrate(uint32_t newBaudrate); 92 void UART_ChangeBaudrate(uint32_t newBaudrate);