Discharge and load output control improvements

- Charge/discharge control in charger class sets global error flags
- Load state machine analyzes error flags to distinguish reasons for switching load off
- Temperature errors now identified correctly (issue #59)
- Delay before load re-connect after low voltage or overcurrent event now configurable
- Unit tests added
This commit is contained in:
Martin Jaeger
2019-10-24 16:04:32 +02:00
parent 2beb72f1f6
commit 68ae3227cc
11 changed files with 378 additions and 86 deletions
+1 -3
View File
@@ -63,7 +63,5 @@ int main()
half_brigde_tests();
dcdc_tests();
log_tests();
// TODO
//load_tests();
load_tests();
}