diff Small_CPU/Inc/externalInterface.h @ 1065:1f2067cad41b Icon_Integration

Mixed sensor operation improvment: A peak detector has been added to the adc measurement to avoid interferance while UART sensor are taking measurement while adc is active. The previous approach to shift adc into time windows where no UART were active had to be replaced because for the CO2 sensor is continously taking samples without providing a sync signal. In addition the UART MUX switching behavior has been improved (potential rx data received from previous sensor is discarded during channel switch etc.)
author Ideenmodellierer
date Mon, 16 Feb 2026 21:27:26 +0100
parents 785772303f9c
children
line wrap: on
line diff
--- a/Small_CPU/Inc/externalInterface.h	Mon Feb 16 21:11:59 2026 +0100
+++ b/Small_CPU/Inc/externalInterface.h	Mon Feb 16 21:27:26 2026 +0100
@@ -109,8 +109,6 @@
 void externalInterface_SetCO2SignalStrength(uint16_t LED_qa);
 uint16_t externalInterface_GetCO2Value(void);
 uint16_t externalInterface_GetCO2SignalStrength(void);
-void externalInterface_SetCO2State(uint16_t state);
-uint16_t externalInterface_GetCO2State(void);
 void externalInterface_SetBottlePressure(uint8_t bottle, uint8_t bar);
 uint8_t externalInterface_GetBottlePressure(uint8_t bottle);
 uint8_t externalInterface_GetSensorData(uint8_t sensorId, uint8_t* pDataStruct);