Mercurial > public > ostc4
diff Small_CPU/Inc/uartProtocol_GNSS.h @ 932:effadaa3a1f7 Evo_2_23
Cleanup Gnss UART implementation:
The first draft of the internal UART implementation was just a copy of the external UART handling. To avoid duplicated code and maintainance issue both UARTs (external/internal 6/1) share the same functions. To enable this a control structure has to be used as function input which defines the none shared resources like DMA control and rx/tx buffers
| author | Ideenmodellierer |
|---|---|
| date | Sat, 07 Dec 2024 21:28:08 +0100 |
| parents | 5a9bc2e6112d |
| children | 3029f0332f4f |
line wrap: on
line diff
--- a/Small_CPU/Inc/uartProtocol_GNSS.h Tue Dec 03 20:32:51 2024 +0100 +++ b/Small_CPU/Inc/uartProtocol_GNSS.h Sat Dec 07 21:28:08 2024 +0100 @@ -80,7 +80,8 @@ uint8_t id; } gnssRequest_s; - +uartGnssStatus_t uartGnss_GetState(void); +void uartGnss_SetState(uartGnssStatus_t newState); void uartGnss_Control(void); void uartGnss_ProcessData(uint8_t data); uint8_t uartGnss_isSensorConnected();
