#include "standbymode.h" void Enter_StandByMode(void) { //暂停滴答时钟,防止通过滴答时钟中断唤醒 HAL_SuspendTick(); /* 进入待机模式 */ HAL_PWR_EnterSTANDBYMode(); }