Contains the definition of the state menu.
The state menu contains all states and adresses to associated functions.
Definition in file menu.c.
#include <stdlib.h>
#include "statefunc.h"
#include "charge.h"
#include "main.h"
#include "menu.h"

Go to the source code of this file.
Variables | |
| __flash const MENU_STATE_t | menu_state [] |
| The state menu. | |
| __flash const MENU_STATE_t menu_state[] |
Initial value:
{
{ ST_INIT, Initialize},
{ ST_BATCON, BatteryControl},
{ ST_PREQUAL, Charge},
{ ST_SLEEP, Sleep},
{ ST_CCURRENT, Charge},
{ ST_CVOLTAGE, Charge},
{ ST_MAXVOLTCURR, Charge},
{ ST_ENDCHARGE, Charge},
{ ST_DISCHARGE, Discharge},
{ ST_ERROR, Error},
{ 0, NULL},
}
Contains all the defined states and addresses to their associated functions.
Definition at line 66 of file menu.c.
Referenced by main().
1.5.6