© 2000 Scenix Semiconductor, Inc. All rights reserved. - 24 - www.scenix.com SX18AC/SX20AC/SX28AC/SX18AC75/SX20AC75/SX28AC75 10.2 Watchdog Timer The watchdog logic consists of a Watchdog Timer which
shares the same 8-bit programmable prescaler with  the
RTCC.  The  prescaler  actually  serves  as  a  postscaler  if
used in conjunction with the WDT, in contrast to its use as
a prescaler with the RTCC.
10.3 The Prescaler The 8-bit prescaler may be assigned to either the RTCC
or the WDT through the PSA bit (bit 3 of the OPTION reg-
ister).  Setting  the  PSA  bit  assigns  the  prescaler  to  the
WDT. If assigned to the WDT, the WDT clocks the pres-
caler  and  the  prescaler  divide  rate  is  selected  by  the
PS0, PS1, and PS2 bits located in the OPTION register.
Clearing the PSA bit assigns the prescaler to the RTCC.
Once  assigned  to  the  RTCC,  the  prescaler  clocks  the
RTCC and the divide rate is selected by the PS0, PS1,
and PS2 bits in the OPTION register. The prescaler is not
mapped into the data memory, so run-time access is not
possible.
The prescaler cannot be assigned to both the RTCC and
WDT simultaneously.
Figure 10-1. RTCC and WDT Block Diagram WDTE (from FUSE Word) RTCC pin MUX 8-Bit Prescaler MUX (8 to 1) 8-Bits WDT Time-out Data Bus WDT MUX M RTCC M
U
X
FOSC     RST
RTE_ES
PSA
PS2
PS1
PS0
OPTION
Register
RTCC Rollover Interrupt RTE_IE RTW   RTCC
Interrupt
Enable U
X