CUER
/
charger_code
Code to run on the charger board (used to charge the car from the mains).
Data_types.h@12:77d493b3320b, 2017-09-12 (annotated)
- Committer:
- DasSidG
- Date:
- Tue Sep 12 05:42:43 2017 +0000
- Revision:
- 12:77d493b3320b
- Parent:
- 7:70cf5bff23f9
Added charger and bms timeouts to the charger board CAN packet
Who changed what in which revision?
User | Revision | Line number | New 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 | 7:70cf5bff23f9 | 13 | extern timeouts_t timeouts; |
DasSidG | 7:70cf5bff23f9 | 14 | |
DasSidG | 1:0c77e20b4d4c | 15 | #endif |