RTC里面有个寄存器RTCNT1 ,这个寄存器是否可以在RTC处在Counter Mode下,写入特定值,比如写入100,那么这个寄存器溢出中断时间是256-100吗
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.
RTC里面有个寄存器RTCNT1 ,这个寄存器是否可以在RTC处在Counter Mode下,写入特定值,比如写入100,那么这个寄存器溢出中断时间是256-100吗
这个寄存器是否可以在RTC处在Counter Mode下,写入特定值
是的,可以写入的。在29.3.1.2 Counter Mode Operation 中
Each counter, RTCNT1 through RTCNT4, is individually accessible and may be written.
比如写入100,那么这个寄存器溢出中断时间是256-100吗
理论上是这样的。