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: 2009/11/21 16:32,
38.107.191.100:LOG IN
|
| ©2009 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? Please DO link to this page! Digg it! <A HREF="http://piclist.com/techref/scenix/rtcc.htm"> SX Embedded Controller Register</A> |
| Did you find what you needed? |
LCD Front Panel Set: $8.99!
- 2x16 LCD HD44780 controller - 4 push buttons - 3 LEDs - 2x12 header |
|
Ubicom SX18 thru SX52, PIC 16c5X compatibile, 50 to 75 MIPS microcontrollers! Now US customers can buy the Excellent SXDev from SXList.com for $150 + $15 import fee + s&h (~ $180 total+tax in CA) |
.