Contains definitions of each state and declaration of the state menu entry struct.
Definition in file menu.h.

Go to the source code of this file.
Data Structures | |
| struct | MENU_STATE_struct |
| Holds an entry in the state menu. More... | |
Defines | |
| #define | ST_BATCON (20) |
| Identifies battery control state. | |
| #define | ST_CCURRENT (100) |
| Identifies constant current charge state. | |
| #define | ST_CVOLTAGE (110) |
| Identifies constant voltage charge state. | |
| #define | ST_DISCHARGE (80) |
| Identifies discharge state. | |
| #define | ST_ENDCHARGE (70) |
| Identifies end of charge. | |
| #define | ST_ERROR (90) |
| Identifies error state. | |
| #define | ST_FASTCHARGE (50) |
| Identifies fast charge state. | |
| #define | ST_INIT (10) |
| Identifies initialization state. | |
| #define | ST_LOWRATECHARGE (60) |
| Identifies trickle charge state. | |
| #define | ST_MAXVOLTCURR (120) |
| Identifies maximum voltage & current charge state. | |
| #define | ST_PREQUAL (30) |
| Identifies prequalification state. | |
| #define | ST_SLEEP (40) |
| Identifies sleep state. | |
Typedefs | |
| typedef struct MENU_STATE_struct | MENU_STATE_t |
| For convenience. | |
Variables | |
| __flash const MENU_STATE_t | menu_state [] |
| The state menu. | |
| #define ST_BATCON (20) |
Identifies battery control state.
Definition at line 39 of file menu.h.
Referenced by Charge(), Discharge(), Initialize(), and Sleep().
| #define ST_CCURRENT (100) |
| #define ST_CVOLTAGE (110) |
| #define ST_ENDCHARGE (70) |
| #define ST_ERROR (90) |
Identifies error state.
Definition at line 46 of file menu.h.
Referenced by BatteryControl(), ConstantCurrent(), ConstantVoltage(), HaltNow(), and MaxVoltageAndCurrent().
| #define ST_INIT (10) |
| #define ST_LOWRATECHARGE (60) |
| #define ST_MAXVOLTCURR (120) |
| #define ST_PREQUAL (30) |
Identifies prequalification state.
Definition at line 40 of file menu.h.
Referenced by BatteryControl(), and Charge().
| #define ST_SLEEP (40) |
Identifies sleep state.
Definition at line 41 of file menu.h.
Referenced by BatteryControl(), Charge(), and HaltNow().
| typedef struct MENU_STATE_struct MENU_STATE_t |
| __flash const MENU_STATE_t menu_state[] |
1.5.6