Mercurial > public > ostc4
comparison Small_CPU/Inc/uart.h @ 861:ad96f99ebc78 Evo_2_23
Synchronize ADC and UART activities:
depending on the cable configuration the UART sensor operation may have an impact to the ADC measurement (peaks). To avoid this the ADC measurements are now only started in case no UART communication is pending.
author | Ideenmodellierer |
---|---|
date | Tue, 07 May 2024 21:25:25 +0200 |
parents | e9eba334b942 |
children | cf3967fe6924 |
comparison
equal
deleted
inserted
replaced
860:3e499569baf3 | 861:ad96f99ebc78 |
---|---|
46 void UART_MUX_SelectAddress(uint8_t muxAddress); | 46 void UART_MUX_SelectAddress(uint8_t muxAddress); |
47 void UART_SendCmdString(uint8_t *cmdString); | 47 void UART_SendCmdString(uint8_t *cmdString); |
48 void UART_ReadData(uint8_t sensorType); | 48 void UART_ReadData(uint8_t sensorType); |
49 void UART_FlushRxBuffer(void); | 49 void UART_FlushRxBuffer(void); |
50 void UART_ChangeBaudrate(uint32_t newBaudrate); | 50 void UART_ChangeBaudrate(uint32_t newBaudrate); |
51 uint8_t UART_isComActive(uint8_t sensorId); | |
51 | 52 |
52 void StringToInt(char *pstr, uint32_t *puInt32); | 53 void StringToInt(char *pstr, uint32_t *puInt32); |
53 void StringToUInt64(char *pstr, uint64_t *puint64); | 54 void StringToUInt64(char *pstr, uint64_t *puint64); |
54 | 55 |
55 #ifdef __cplusplus | 56 #ifdef __cplusplus |