Mercurial > public > ostc4
diff 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 |
line wrap: on
line diff
--- a/Small_CPU/Inc/externalInterface.h Sun Nov 03 15:37:00 2024 +0100 +++ b/Small_CPU/Inc/externalInterface.h Sun Nov 03 15:40:55 2024 +0100 @@ -49,7 +49,8 @@ EXT_INTERFACE_UART_OFF = 0, EXT_INTERFACE_UART_CO2, EXT_INTERFACE_UART_SENTINEL, - EXT_INTERFACE_UART_O2 + EXT_INTERFACE_UART_O2, + EXT_INTERFACE_UART_GNSS }; @@ -71,6 +72,12 @@ DETECTION_CO2_2, DETECTION_CO2_3, #endif +#ifdef ENABLE_GNSS_SUPPORT + DETECTION_GNSS_0, /* check UART channel for connected gnss sensor */ + DETECTION_GNSS_1, + DETECTION_GNSS_2, + DETECTION_GNSS_3, +#endif #ifdef ENABLE_SENTINEL_MODE DETECTION_SENTINEL, /* check UART channel for connected Sentinel */ DETECTION_SENTINEL2,