comparison 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
comparison
equal deleted inserted replaced
778:74253a41cf80 779:0b5f45448eb6
90 #endif 90 #endif
91 #ifdef ENABLE_SENTINEL_MODE 91 #ifdef ENABLE_SENTINEL_MODE
92 void UART_HandleSentinelData(void); 92 void UART_HandleSentinelData(void);
93 #endif 93 #endif
94 void UART_HandleDigitalO2(void); 94 void UART_HandleDigitalO2(void);
95 void UART_MapDigO2_Channel(uint8_t channel, uint8_t muxAddress);
96 void UART_SetDigO2_Channel(uint8_t channel);
95 uint8_t UART_isDigO2Connected(); 97 uint8_t UART_isDigO2Connected();
96 uint8_t UART_isCO2Connected(); 98 uint8_t UART_isCO2Connected();
97 uint8_t UART_isSentinelConnected(); 99 uint8_t UART_isSentinelConnected();
98 void UART_setTargetChannel(uint8_t channel); 100 void UART_setTargetChannel(uint8_t channel);
99 101