Date Code(s): 9815, 9818, 9819, 9825, 9827, 9829, 9830, 9837, 9838, 9841, 9843, 9844, 9848: In Turbo mode, if the Prescaler is not assigned to the RTCC, the RTCC will not sense any external events. If the Prescaler is assigned to the RTCC, the RTCC works as an external event counter. With the Prescaler assigned to the WDT (Watchdog Timer), the RTCC will only function as an internal timer clocked internally and will ignore any external events.
RTCC is a Read/Modify/Write register, just like the IO ports. Eberhard Haug says:
... and don\'t use any TEST RTCC to check RTCC for zero e.g., because TEST will reset the RTCC prescaler like any MOV to RTCC. As a result it could happen that your 4-byte counter never counts correctly. TEST RTCC is equivalent to MOV RTCC,RTCC. If you like to check RTCC just use a MOV W,RTCC etc.
See Interrupts for more on how to setup the RTCC
The SX literature says that the dual stage synchronizer is _always_ activated on RTCC. If that is so, then the RTCC may actually be counting two LESS pulses than have actually been presented on the input pin.
Interested:
See also:
file: /Techref/scenix/rtcc.htm, 2KB, , updated: 2008/4/5 15:29, local time: 2024/11/25 12:13,
18.118.162.8:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://techref.massmind.org/Techref/scenix/rtcc.htm"> SX Embedded Controller Register</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.