RTC_WaitForLastTask();} void RTC_IRQHandler(void){ if(RTC_GetITStatus(RTC_IT_SEC) != RESET){ /* Clear the RTC Second interrupt */ RTC_ClearITPendingBit(RTC_IT_SEC);/* Toggle led connected to PC.06 pin each 1s */
RTC_WaitForLastTask();} void Time_init(void){ /*Enables the clock to Backup and power interface...
ch32v307RTC使用函数RTC_SetCounter()会一直卡死怎么解决? 你好,目前在使用ch32v307RTC外设的时候发现使用函数RTC_SetCounter();RTC_WaitForLastTask();后,有时候会一直卡死在RTC_WaitForLastTask()这个函数中,请问有遇到类似情况的解决方法吗?或者在使用的过程中有什么注意事项? 谢谢 ...