
PIC16C9XX
DS30444E - page 106
1997 Microchip Technology Inc.
14.3
Reset
The PIC16CXX differentiates between various kinds of
reset:
Power-on Reset (POR)
MCLR Reset during normal operation
MCLR Reset during SLEEP
WDT Reset (normal operation)
Some registers are not affected in any reset condition;
their status is unknown on POR and unchanged in any
other reset. Most other registers are reset to a “reset
state” on Power-on Reset (POR), on the MCLR and
WDT Reset, and on MCLR Reset during SLEEP. They
are not affected by a WDT Wake-up, which is viewed as
the resumption of normal operation. The TO and PD
bits are set or cleared differently in different reset situ-
in software to determine the nature of the reset. See
Table 14-6 for a full description of reset states of all reg-
isters.
A simplied block diagram of the on-chip reset circuit is
The devices all have a MCLR noise lter in the MCLR
reset path. The lter will detect and ignore small pulses.
It should be noted that a WDT Reset does not drive
MCLR pin low.
FIGURE 14-7: SIMPLIFIED BLOCK DIAGRAM OF ON-CHIP RESET CIRCUIT
S
R
Q
External
Reset
MCLR
VDD
OSC1
WDT
Module
VDD rise
detect
OST/PWRT
On-chip
RC OSC
WDT
Time-out
Power-on Reset
OST
10-bit Ripple counter
PWRT
Chip_Reset
10-bit Ripple counter
Enable OST(2)
Enable PWRT(2)
SLEEP
Note
1: This is a separate oscillator from the RC oscillator of the CLKIN pin.
(1)