Mercurial > public > ostc4
comparison Small_CPU/Inc/uart.h @ 742:e23fe82cbf8c
Update Sentinel protocol:
The Sentinel protocol is now supported by autodetection.
Added Autodetection indicator:
In the previous version no indicator showed that an auto detection is running. A new pseudo sensor type has been introduced which now causes the auto detection string to be displayed while the detection is running in the background.
author | Ideenmodellierer |
---|---|
date | Sun, 19 Feb 2023 21:43:24 +0100 |
parents | d646a0f724a7 |
children | 0b5f45448eb6 |
comparison
equal
deleted
inserted
replaced
741:6a35e2e97bfb | 742:e23fe82cbf8c |
---|---|
82 | 82 |
83 void MX_USART1_UART_Init(void); | 83 void MX_USART1_UART_Init(void); |
84 void MX_USART1_UART_DeInit(void); | 84 void MX_USART1_UART_DeInit(void); |
85 void MX_USART1_DMA_Init(void); | 85 void MX_USART1_DMA_Init(void); |
86 uint8_t UART_ButtonAdjust(uint8_t *array); | 86 uint8_t UART_ButtonAdjust(uint8_t *array); |
87 void UART_StartDMA_Receiption(void); | |
87 #ifdef ENABLE_CO2_SUPPORT | 88 #ifdef ENABLE_CO2_SUPPORT |
88 void UART_HandleCO2Data(void); | 89 void UART_HandleCO2Data(void); |
89 #endif | 90 #endif |
90 #ifdef ENABLE_SENTINEL_MODE | 91 #ifdef ENABLE_SENTINEL_MODE |
91 void UART_HandleSentinelData(void); | 92 void UART_HandleSentinelData(void); |
92 #endif | 93 #endif |
93 void UART_HandleDigitalO2(void); | 94 void UART_HandleDigitalO2(void); |
94 | |
95 uint8_t UART_isDigO2Connected(); | 95 uint8_t UART_isDigO2Connected(); |
96 uint8_t UART_isCO2Connected(); | 96 uint8_t UART_isCO2Connected(); |
97 uint8_t UART_isSentinelConnected(); | |
97 void UART_setTargetChannel(uint8_t channel); | 98 void UART_setTargetChannel(uint8_t channel); |
98 | 99 |
99 | 100 |
100 | 101 |
101 #ifdef __cplusplus | 102 #ifdef __cplusplus |