This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
定时器睡眠,其实就是周期事件,keyfob在宏定义中已经定义了POWER_SAVING,官网程序中有直接的API函数:osal_start_timerEx (Hal_TaskID, HAL_KEY_EVENT, HAL_KEY_POLLING_VALUE),可以用这个函数定义周期唤醒,执行完后,自动进入休眠,PM2模式 电流1uA
第一种的中断唤醒,你可以参考官方例程中的按键部分,原理是一样的