CUER
/
charger_code
Code to run on the charger board (used to charge the car from the mains).
Data_types.h@7:70cf5bff23f9, 2017-09-10 (annotated)
- Committer:
- DasSidG
- Date:
- Sun Sep 10 11:10:54 2017 +0000
- Revision:
- 7:70cf5bff23f9
- Parent:
- 1:0c77e20b4d4c
Changed charging algorithm; Refactored code to move stuff out of charger.cpp and into other files
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 |