ADC alerts and emergency stop functions added
Check for overvoltage/undervoltage conditions after each ADC reading cycle and trigger alert (stopping DC/DC, PWM switch and load output) if limits exceeded.
This commit is contained in:
@@ -165,6 +165,8 @@ int main()
|
||||
|
||||
load.state_machine();
|
||||
|
||||
adc_set_alerts(); // update regularly to cover changed configurations
|
||||
|
||||
eeprom_update();
|
||||
|
||||
leds_update_1s();
|
||||
|
||||
Reference in New Issue
Block a user