From bb3304bd27bd7a09d3ea96013a5fd9e59edcae86 Mon Sep 17 00:00:00 2001 From: ThinkPad-T460P Date: Wed, 6 Jan 2021 12:27:08 +0800 Subject: [PATCH] add standby state --- Core/Inc/navikit.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Core/Inc/navikit.h b/Core/Inc/navikit.h index dd3aa3d..f7cd74b 100644 --- a/Core/Inc/navikit.h +++ b/Core/Inc/navikit.h @@ -27,6 +27,7 @@ typedef enum { + standby, //minimum current state idle, //only mcu runing run, //all function runing sleep, //SOCs and FANs are stop @@ -136,6 +137,7 @@ bool PWR_Status(enum Device_t device); void NaviKit_var_init(); //power state machine switch function +void enter_standby_state(); void enter_isp_state(); void enter_run_state(uint16_t delay); void enter_idle_state(uint16_t delay);