PIC18F010/020
12.2.2 WDT POSTSCALER
The WDT has a postscaler that can extend the WDT
Reset period. The postscaler is selected at the time of
the device programming, by the value written to the
CONFIG2H configuration register. An extended WDT
is also available, multiplying the standard settings by
16.
The standard settings are also available in software
when not setup in the CONFIG2H configuration. The
WDTCON register allows enabling the WDT and set-
ting the standard postscaler options.
Note:
The WDTCON register must be unlocked
before it can be modified (see
Section 12.4.1).
FIGURE 12-1:
WATCHDOG TIMER BLOCK DIAGRAM
WDT Timer
÷ 16
WDTLE
WDTEN
Configuration bit
SWDTEN bit
Postscaler
8
8 - to - 1 MUX
WDTPS2:WDTPS0
Note: WDPS2:WDPS0 are bits in a configuration register.
WDT
Time-out
TABLE 12-2: SUMMARY OF WATCHDOG TIMER REGISTERS
Name
Bit 7
Bit 6
Bit 5
Bit 4
CONFIG2H reserved
—
STVRE WDTLE
RCON
IPEN
—
—
RI
WDTCON
—
—
—
—
Legend: Shaded cells are not used by the Watchdog Timer.
Bit 3
WDTPS2
TO
—
Bit 2
WDTPS2
PD
—
Bit 1
WDTPS0
POR
—
Bit 0
WDTEN
BOR
SWDTEN
2001 Microchip Technology Inc.
Preliminary
DS41142A-page 89