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.

controlsuite 中 F28335的LEDBlink例程中为什么定时器0的中断服务中 不用 清除定时器标志位TIF??

Other Parts Discussed in Thread: CONTROLSUITE

Controlsuite中F28335的LEDBlink例程中 为什么定时器0的中断服务中 不用 清除定时器标志位TIF??

而只是清除PIE的确认位?

interrupt void cpu_timer0_isr(void)
{
   CpuTimer0.InterruptCount++;
   GpioDataRegs.GPBTOGGLE.bit.GPIO32 = 1; // Toggle GPIO32 once per 500 milliseconds
   // Acknowledge this interrupt to receive more interrupts from group 1
   PieCtrlRegs.PIEACK.all = PIEACK_GROUP1;
}