Mercurial > public > ostc4
comparison Small_CPU/Inc/externalInterface.h @ 918:f72613a152dd Evo_2_23
Switch external interface tx communication to DMA:
In the previous version the transmitting of data was done in polling mode. With the introduction of new sensors the length of commands send to the sensor may increase and have a impact to the runtim behavior of the SW. To avoid this the DMA transfers for TX has been activated.
author | Ideenmodellierer |
---|---|
date | Sun, 03 Nov 2024 15:40:55 +0100 |
parents | 061174d88af9 |
children |
comparison
equal
deleted
inserted
replaced
917:0d6c4b40fae4 | 918:f72613a152dd |
---|---|
47 enum /* Definitions for supported UART protocols */ | 47 enum /* Definitions for supported UART protocols */ |
48 { | 48 { |
49 EXT_INTERFACE_UART_OFF = 0, | 49 EXT_INTERFACE_UART_OFF = 0, |
50 EXT_INTERFACE_UART_CO2, | 50 EXT_INTERFACE_UART_CO2, |
51 EXT_INTERFACE_UART_SENTINEL, | 51 EXT_INTERFACE_UART_SENTINEL, |
52 EXT_INTERFACE_UART_O2 | 52 EXT_INTERFACE_UART_O2, |
53 EXT_INTERFACE_UART_GNSS | |
53 }; | 54 }; |
54 | 55 |
55 | 56 |
56 typedef enum | 57 typedef enum |
57 { | 58 { |
68 #ifdef ENABLE_CO2_SUPPORT | 69 #ifdef ENABLE_CO2_SUPPORT |
69 DETECTION_CO2_0, /* check UART channel for connected CO2 sensor */ | 70 DETECTION_CO2_0, /* check UART channel for connected CO2 sensor */ |
70 DETECTION_CO2_1, | 71 DETECTION_CO2_1, |
71 DETECTION_CO2_2, | 72 DETECTION_CO2_2, |
72 DETECTION_CO2_3, | 73 DETECTION_CO2_3, |
74 #endif | |
75 #ifdef ENABLE_GNSS_SUPPORT | |
76 DETECTION_GNSS_0, /* check UART channel for connected gnss sensor */ | |
77 DETECTION_GNSS_1, | |
78 DETECTION_GNSS_2, | |
79 DETECTION_GNSS_3, | |
73 #endif | 80 #endif |
74 #ifdef ENABLE_SENTINEL_MODE | 81 #ifdef ENABLE_SENTINEL_MODE |
75 DETECTION_SENTINEL, /* check UART channel for connected Sentinel */ | 82 DETECTION_SENTINEL, /* check UART channel for connected Sentinel */ |
76 DETECTION_SENTINEL2, | 83 DETECTION_SENTINEL2, |
77 #endif | 84 #endif |