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.

TM4C129 定时器

Other Parts Discussed in Thread: EK-TM4C1294XL

在主函数中用LED,检验定时器工作是否正常,

TimerValueGet(TIMER1_BASE,TIMER_A)==5000000ULLED2

当 TimerValueGet(TIMER1_BASE,TIMER_A)==10000000ULLED1

结果发现在调试时只有LED2亮了,LED1始终不亮

有一下几个问题不懂

1.TM4C129中默认的32位全周期定时定时器定时周期怎么算,默认计数方式是向上计数还是向下计数?

2.imerValueGet()的返回值是变化范围是多少?

3.LED2亮后,为何LED1亮不了?