add standby state

master
ThinkPad-T460P 2021-01-06 12:27:08 +08:00
parent a7ef91f1f5
commit bb3304bd27
1 changed files with 2 additions and 0 deletions

View File

@ -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);