Code to run on the charger board (used to charge the car from the mains).

Dependencies:   mbed CUER_CAN

Committer:
DasSidG
Date:
Thu Jul 06 21:27:26 2017 +0000
Revision:
1:0c77e20b4d4c
Child:
7:70cf5bff23f9
Code majorly changed:; ; Structure changed significantly; All of the CAN-related functions, structures etc. added (but not yet tested); Still need to add some of the main program logic in terms of deciding when/when not to charge etc

Who changed what in which revision?

UserRevisionLine numberNew contents of line
DasSidG 1:0c77e20b4d4c 1 #ifndef Data_types_H
DasSidG 1:0c77e20b4d4c 2 #define Data_types_H
DasSidG 1:0c77e20b4d4c 3
DasSidG 1:0c77e20b4d4c 4 #include "CAN_Data.h"
DasSidG 1:0c77e20b4d4c 5 #include "CAN_IDs.h"
DasSidG 1:0c77e20b4d4c 6 #include "mbed.h"
DasSidG 1:0c77e20b4d4c 7
DasSidG 1:0c77e20b4d4c 8 struct timeouts_t {
DasSidG 1:0c77e20b4d4c 9 Timer BMS_timeout;
DasSidG 1:0c77e20b4d4c 10 Timer charger_timeout;
DasSidG 1:0c77e20b4d4c 11 };
DasSidG 1:0c77e20b4d4c 12
DasSidG 1:0c77e20b4d4c 13 #endif