请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
部件号:*** >
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.
部件号:*** >
> if ((TIMER_0_INST->CPU_INT.RIS)& GPTIMER_GEN_EVENT0_IMASK_TOV_MASK){
TOV 是触发器溢出(事件生成)、因此它不是您要找的。 您可能需要加载或归零事件[Ref TRM (SLAU846B) 图 27-10]、类似如下所示:
> IF ((TIMER_0_INST->CPU_INT.RIS)& GPTIMER_CPU_INT_RIS_Z_MASK){ //零事件?