HAL_ISR_FUNCTION(halSleepTimerIsr,ST_VECTOR)
{
HAL_ENTER_ISR();
STIF = 0;
的#ifdef HAL_SLEEP_DEBUG_POWER_MODE
halSleepInt = TRUE;
#ENDIF
CLEAR_SLEEP_MODE();
HAL_EXIT_ISR();
HalTimerInit(); //这个函数放在这里,定时器没有中断进来,也就是定时器初始化不成功,而放在其它地方,则起作用
}
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.