5282 timer

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

5282 timer

2,261 次查看
rao
Contributor I
What is the maximum timeout that we can provide using GPT module in 5282.
标签 (1)
0 项奖励
回复
1 回复

702 次查看
airswit
Contributor III
what are you trying to do? if you are looking to periodically interrupt the proc, i think it would be easier to use the PIT timers. however, if you are going to use the GPT, i believe that the maximum timeout is a little under 17 million system clocks (2^24). if you are looking on an external clock, i think it can be much longer. looking at the datasheet, though i'm not 100% sure how to use the module, you can prescale the Pulse Accumulator by up to 65536, then this can be divided by 2^16, or a total time of nearly 4.3 billion clock cycles (2^32). let me know if this helps, or if it is wrong...hehe.

Trevor
0 项奖励
回复