Mercurial > public > ostc4
comparison Common/Inc/settings.h @ 728:5143e927219f
Added sensor map to Firmware <=> RTE inferface:
The sensor map contains a list of up to five sensors which may be connected to the external interface. The update includes the definition of the type as well as the data structure. to ensure compatibility the RTE and needed RTE version has been set to 3.0
author | Ideenmodellierer |
---|---|
date | Sat, 14 Jan 2023 20:41:36 +0100 |
parents | 34eb693720eb |
children | 6a35e2e97bfb |
comparison
equal
deleted
inserted
replaced
727:1dca3bb187d7 | 728:5143e927219f |
---|---|
83 #define PSCR_MIN_LUNG_RATIO (5u) | 83 #define PSCR_MIN_LUNG_RATIO (5u) |
84 #define PSCR_MAX_LUNG_RATIO (20u) | 84 #define PSCR_MAX_LUNG_RATIO (20u) |
85 | 85 |
86 #define UART_MAX_PROTOCOL (2u) | 86 #define UART_MAX_PROTOCOL (2u) |
87 | 87 |
88 #define FUTURE_SPARE_SIZE (10u) /* Applied for reuse of old, not used, scooter block (was 32 bytes)*/ | 88 #define FUTURE_SPARE_SIZE (5u) /* Applied for reuse of old, not used, scooter block (was 32 bytes)*/ |
89 | 89 |
90 typedef enum | 90 typedef enum |
91 { | 91 { |
92 O2_SENSOR_SOURCE_OPTIC = 0, | 92 O2_SENSOR_SOURCE_OPTIC = 0, |
93 O2_SENSOR_SOURCE_ANALOG, | 93 O2_SENSOR_SOURCE_ANALOG, |
232 uint8_t co2_sensor_active; /* redefined in 0xFFFF0021 */ | 232 uint8_t co2_sensor_active; /* redefined in 0xFFFF0021 */ |
233 uint8_t ext_uart_protocol; /* redefined in 0xFFFF0022 */ | 233 uint8_t ext_uart_protocol; /* redefined in 0xFFFF0022 */ |
234 | 234 |
235 uint8_t scubberActiveId; /* redefined in 0xFFFF0023 */ | 235 uint8_t scubberActiveId; /* redefined in 0xFFFF0023 */ |
236 SScrubberData scrubberData[2]; | 236 SScrubberData scrubberData[2]; |
237 | 237 uint8_t ext_sensor_map[5]; |
238 uint8_t Future_SPARE[FUTURE_SPARE_SIZE]; /* redefined in 0xFFFF0020 (old scooter Block was 32 byte)*/ | 238 uint8_t Future_SPARE[FUTURE_SPARE_SIZE]; /* redefined in 0xFFFF0020 (old scooter Block was 32 byte)*/ |
239 // new in 0xFFFF0006 | 239 // new in 0xFFFF0006 |
240 uint8_t ppo2sensors_deactivated; | 240 uint8_t ppo2sensors_deactivated; |
241 uint8_t tX_colorscheme; | 241 uint8_t tX_colorscheme; |
242 uint8_t tX_userselectedLeftLowerCornerPrimary; | 242 uint8_t tX_userselectedLeftLowerCornerPrimary; |