How to Reset Prescaler in RTI Module?

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

How to Reset Prescaler in RTI Module?

1,870 次查看
admin
Specialist II

In the 908AC family, does writing 000 to the RTIS2-0 bits also clear the prescaler?

 

I want to start the RTI from zero each time I enable it. No mention of this in the data sheet. 

标签 (1)
0 项奖励
回复
2 回复数

1,046 次查看
bigmac
Specialist III

Hello,

 

Writing a value of zero to the RTIS bits actually disables the timer.  I guess the write of a non-zero value, to re-enable the timer, is likely to clear the prescaler.  Maybe writing any new value will do the same.  This should be relatively easy to test.

 

Regards,

Mac

0 项奖励
回复

1,046 次查看
admin
Specialist II
Yeah, makes more sense if the prescaler reset would occur on any write actually. I guess I'll find out soon enough. My hardware isn't built yet so I'll just have to wait a few more days. I'm just trying to get ahead and get some of it written before I get it. 
0 项奖励
回复