Datasheet

2000 Microchip Technology Inc. Preliminary DS40197B-page 35
PIC16HV540
TABLE 7-3: RESET CONDITIONS FOR SPECIAL REGISTERS
TABLE 7-4: RESET CONDITIONS FOR ALL REGISTERS
FIGURE 7-6: SIMPLIFIED BLOCK DIAGRAM OF ON-CHIP RESET CIRCUIT
Condition
PCL
Addr: 02h
STATUS
Addr: 03h
Power-on Reset
1111 1111 1001 1xxx
MCLR Reset (normal operation)
1111 1111 u00u uuuu
(1)
MCLR Wake-up (from SLEEP)
1111 1111 1001 0uuu
WDT Reset (normal operation)
1111 1111 u000 1uuu
(2)
WDT Wake-up (from SLEEP)
1111 1111 1000 0uuu
Wake-up from SLEEP on Pin Change
1111 1111 000u uuuu
Brown-out Reset
1111 1111 x00x xxxx
Legend: u = unchanged, x = unknown, - = unimplemented read as 0.
Note 1: TO
and PD bits retain their last value until one of the other reset conditions occur.
2: The CLRWDT instruction will set the TO
and PD bits.
Register Address Power-On Reset
MCLR
or WDT
Reset
Wake-up on Pin
Change
Brown-out
Reset
WN/Axxxx xxxx uuuu uuuu uuuu uuuu xxxx xxxx
TRIS N/A 1111 1111 1111 1111 1111 1111 1111 1111
OPTION N/A --11 1111 --11 1111 --11 1111 --11 1111
OPTION2 N/A --11 1111 --uu uuuu --uu uuuu --xx xxxx
INDF 00h xxxx xxxx uuuu uuuu uuuu uuuu xxxx xxxx
TMR0 01h xxxx xxxx uuuu uuuu uuuu uuuu xxxx xxxx
PCL
(1)
02h 1111 1111 1111 1111 1111 1111 1111 1111
STATUS
(1)
03h 1001 1xxx 100? ?uuu 000u uuuu x00x xxxx
FSR 04h 111x xxxx 111u uuuu 111u uuuu 111x xxxx
PORTA 05h ---- xxxx ---- uuuu ---- uuuu ---- xxxx
PORTB 06h xxxx xxxx uuuu uuuu uuuu uuuu xxxx xxxx
General Purpose Register Files 07-1Fh xxxx xxxx uuuu uuuu uuuu uuuu xxxx xxxx
Legend: u = unchanged, x = unknown, - = unimplemented, read as 0, q = see tables in Section 7.10 for possible values.
? = value depends on condition.
Note 1: See Table 7-3 for reset value for specific conditions.
8-bit Asynch
Ripple Counter
(Start-up Timer)
SQ
R
Q
VDD
MCLR/VPP pin
Power-up
Detect
On-chip
RC OSC
POR (Power-on Reset)
WDT Time-out
RESET
CHIP RESET
WDT
BOR (Brown-out Reset)