diff Small_CPU/Inc/externalInterface.h @ 981:c6c781a2e85b default tip

Merge into default
author heinrichsweikamp
date Tue, 11 Feb 2025 18:12:00 +0100 (4 days ago)
parents f72613a152dd
children
line wrap: on
line diff
--- a/Small_CPU/Inc/externalInterface.h	Tue Aug 13 13:24:54 2024 +0200
+++ b/Small_CPU/Inc/externalInterface.h	Tue Feb 11 18:12:00 2025 +0100
@@ -43,6 +43,17 @@
 #define COMMON_SENSOR_STATE_INIT	(0x0u)	/* All individual state definitions shall start with a INIT state = 0 */
 #define COMMON_SENSOR_STATE_INVALID (0xFFu) /* All individual state definitions shall not use 0xFF for operation control */
 
+
+enum									/* Definitions for supported UART protocols */
+{
+	EXT_INTERFACE_UART_OFF	= 0,
+	EXT_INTERFACE_UART_CO2,
+	EXT_INTERFACE_UART_SENTINEL,
+	EXT_INTERFACE_UART_O2,
+	EXT_INTERFACE_UART_GNSS
+};
+
+
  typedef enum
  {
     DETECTION_OFF = 0,		/* no detection requested */
@@ -61,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,