
PIC18F6585/8585/6680/8680
DS30491C-page 356
2004 Microchip Technology Inc.
24.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.
FIGURE 24-1:
WATCHDOG TIMER BLOCK DIAGRAM
TABLE 24-2:
SUMMARY OF WATCHDOG TIMER REGISTERS
Postscaler
WDT Timer
WDTEN
16-to-1 MUX
WDTPS3:WDTPS0
WDT
Time-out
16
SWDTEN bit
Configuration bit
Note:
WDPS3:WDPS0 are bits in register CONFIG2H.
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
CONFIG2H
—
WDTPS3
WDTPS2
WDTPS0
WDTEN
RCON
IPEN
—
RI
TO
PD
POR
BOR
WDTCON
—
—SWDTEN
Legend: Shaded cells are not used by the Watchdog Timer.