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.

CC3200 timer



TI的员工 你好:

我用下面的代码注册了TimerA3

  
    TimerConfigure(DC_TA_DeviceBase, TIMER_CFG_A_PERIODIC|TIMER_CFG_B_PERIODIC);
    TimerPrescaleSet(DC_TA_DeviceBase, TIMER_BOTH, 0);
    TimerIntRegister(DC_TA_DeviceBase, TIMER_A, F_TA_InterruptHandle_A);
    TimerIntRegister(DC_TA_DeviceBase, TIMER_B, F_TA_InterruptHandle_B);
    
    TimerIntEnable(DC_TA_DeviceBase, TIMER_TIMA_TIMEOUT|TIMER_TIMB_TIMEOUT);
    TimerLoadSet(DC_TA_DeviceBase, TIMER_A, DC_TA_TimerLoad_1ms);
    TimerLoadSet(DC_TA_DeviceBase, TIMER_B, DC_TA_TimerLoad_100ms);
    
    TimerEnable(DC_TA_DeviceBase, TIMER_BOTH);

结果是 TIMER_A 的中断能产生,TIMER_B 不能产生,为什么??

TimeA0 的我也试了一下,也是 TIMER_A 的可以 TIMER_B 的没用