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.

关于cc1310定时器的设置?

Other Parts Discussed in Thread: CC1310, CC2640

SysCtrlPowerEverything();
PRCMPeripheralRunEnable(PRCM_PERIPH_TIMER0);

TimerCcpCombineEnable(GPT0_BASE);
TimerConfigure(GPT0_BASE, TIMER_CFG_A_PERIODIC); //拆分定时器 连续减计
TimerLoadSet(GPT0_BASE, TIMER_A, 1); //设置时钟计数范围
IntMasterEnable();//开启系统总中断
TimerIntEnable(GPT0_BASE, TIMER_TIMA_TIMEOUT);//开启定时器A超时中断
IntEnable(TIMER_A); // 在系统层面(NVIC)使能TimerA中断
TimerEnable(GPT0_BASE, TIMER_A); //启动定时器

TimerIntRegister(GPT0_BASE, TIMER_A, WTimer0BIntHandler);//注册中断处理函数

请问下有没有关于cc1310定时器的例程?  这是我对cc1310的定时器设置,但是没有效果,不知道应该怎么设置?