diff Small_CPU/Inc/externalInterface.h @ 839:061174d88af9 Evo_2_23

Code cleanup: UART protocol definitions In the first external interface implementation the discovery part took care for the uart protocol selection. Since the introduction of the automatic detection the protocol handling has been moved into the RTE. However the definitions were still in the in the exchange header (Discovery <=> RTE). To avoid confusions the definitions have been moved into RTE scope only.
author Ideenmodellierer
date Sun, 07 Jan 2024 21:20:15 +0100
parents e9eba334b942
children f72613a152dd
line wrap: on
line diff
--- a/Small_CPU/Inc/externalInterface.h	Fri Jan 05 16:01:22 2024 +0100
+++ b/Small_CPU/Inc/externalInterface.h	Sun Jan 07 21:20:15 2024 +0100
@@ -43,6 +43,16 @@
 #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
+};
+
+
  typedef enum
  {
     DETECTION_OFF = 0,		/* no detection requested */