请问一次EPWM_IRQ 会产生两次中断吗?
void EPWM0P0_IRQHandler(void)
{
FW_M.RUN_end = 1;
FW_M.RUN_cnt++;
printf("axis acc irq %d %d\r\n",FW_M.RUN_end,FW_M.RUN_cnt);
EPWM_ClearPeriodIntFlag(EPWM0, EPWM_Axis);
EPWM_ClearAccInt(EPWM0, EPWM_Axis);
}
执行一次EPWM,出现了这样的结果:
axis acc irq 1 1
axis acc irq 1 2
|