我在获取定时器时钟值的函数中,没有A,B的子定时器标示。是不是两个子定时器的时钟值是一样的?那这样的话设置两个子定时器有什么用呢? 如果想分别独立的使用两个子定时器,怎么弄呢?
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.
我在获取定时器时钟值的函数中,没有A,B的子定时器标示。是不是两个子定时器的时钟值是一样的?那这样的话设置两个子定时器有什么用呢? 如果想分别独立的使用两个子定时器,怎么弄呢?
可是清除中断函数没有说明是哪一个啊?TimerIntStatus(TIMER3_BASE, TIMER_CAPA_EVENT)
TIMER_CAPA_EVENT是定时器A
TIMER_CAPB_EVENT是定时器B