add standby state
parent
a7ef91f1f5
commit
bb3304bd27
|
@ -27,6 +27,7 @@
|
||||||
|
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
|
standby, //minimum current state
|
||||||
idle, //only mcu runing
|
idle, //only mcu runing
|
||||||
run, //all function runing
|
run, //all function runing
|
||||||
sleep, //SOCs and FANs are stop
|
sleep, //SOCs and FANs are stop
|
||||||
|
@ -136,6 +137,7 @@ bool PWR_Status(enum Device_t device);
|
||||||
void NaviKit_var_init();
|
void NaviKit_var_init();
|
||||||
|
|
||||||
//power state machine switch function
|
//power state machine switch function
|
||||||
|
void enter_standby_state();
|
||||||
void enter_isp_state();
|
void enter_isp_state();
|
||||||
void enter_run_state(uint16_t delay);
|
void enter_run_state(uint16_t delay);
|
||||||
void enter_idle_state(uint16_t delay);
|
void enter_idle_state(uint16_t delay);
|
||||||
|
|
Loading…
Reference in New Issue