move to charger.cpp complete, stubs & TODOs for missing tests

This commit is contained in:
Janosch
2022-10-14 13:24:43 +01:00
parent 100821e68c
commit 3ba4f26b43
8 changed files with 178 additions and 165 deletions
+6
View File
@@ -1,7 +1,9 @@
#ifndef CHARGER_H
#define CHARGER_H
#include "../libopeninv/include/picontroller.h"
#include "../libopeninv/include/params.h"
extern uint32_t startTime;
extern PiController dcCurController;
bool IsEvseInput();
bool CheckUnplugged();
bool CheckTimeout();
@@ -13,4 +15,8 @@ bool CheckStartCondition();
bool CheckVoltage();
void ResetValuesInOffMode();
void CalcEnable();
bool CheckChargerFaults();
void ChargerStateMachine();
void CalcAcCurrentLimit();
void ChargerStateMachine();
#endif