Mercurial > public > ostc4
diff Small_CPU/Inc/uart.h @ 779:0b5f45448eb6
Added UART multiplexer support for DiveO2:
The existing autodetect function now includes a UART multiplexer. The datastructures and protocol handling has been adapted to support several DiveO2 sensors connected to the UART.
author | Ideenmodellierer |
---|---|
date | Tue, 23 May 2023 21:45:34 +0200 |
parents | e23fe82cbf8c |
children | bb37d4f3e50e |
line wrap: on
line diff
--- a/Small_CPU/Inc/uart.h Mon May 22 09:15:09 2023 +0200 +++ b/Small_CPU/Inc/uart.h Tue May 23 21:45:34 2023 +0200 @@ -92,6 +92,8 @@ void UART_HandleSentinelData(void); #endif void UART_HandleDigitalO2(void); +void UART_MapDigO2_Channel(uint8_t channel, uint8_t muxAddress); +void UART_SetDigO2_Channel(uint8_t channel); uint8_t UART_isDigO2Connected(); uint8_t UART_isCO2Connected(); uint8_t UART_isSentinelConnected();