PIC16C7X
TABLE 14-6: STATUS BITS AND THEIR SIGNIFICANCE, PIC16C72/73A/74A/76/77
POR BOR TO PD
0
x
1 1 Power-on Reset
0
x
0 x Illegal, TO is set on POR
0
x
x 0 Illegal, PD is set on POR
1
0
x x Brown-out Reset
1
1
0 1 WDT Reset
1
1
0 0 WDT Wake-up
1
1
u u MCLR Reset during normal operation
1
1
1 0 MCLR Reset during SLEEP or interrupt wake-up from SLEEP
TABLE 14-7: RESET CONDITION FOR SPECIAL REGISTERS
Condition
Program
Counter
STATUS
Register
PCON
Register
PIC16C73/74
Power-on Reset
000h
0001 1xxx ---- --0-
MCLR Reset during normal operation
000h
000u uuuu ---- --u-
MCLR Reset during SLEEP
000h
0001 0uuu ---- --u-
WDT Reset
000h
0000 1uuu ---- --u-
WDT Wake-up
PC + 1
uuu0 0uuu ---- --u-
Brown-out Reset
Interrupt wake-up from SLEEP
000h
PC + 1(1)
0001 1uuu
uuu1 0uuu
N/A
---- --u-
Legend: u = unchanged, x = unknown, - = unimplemented bit read as '0'.
Note 1: When the wake-up is due to an interrupt and the GIE bit is set, the PC is loaded
with the interrupt vector (0004h).
PCON
Register
PIC16C72/73A/74A/76/77
---- --0x
---- --uu
---- --uu
---- --uu
---- --uu
---- --u0
---- --uu
TABLE 14-8: INITIALIZATION CONDITIONS FOR ALL REGISTERS
Register
Applicable Devices
Power-on Reset,
Brown-out Reset
MCLR Resets
WDT Reset
Wake-up via WDT
or
Interrupt
W
72 73 73A 74 74A 76 77 xxxx xxxx
uuuu uuuu
uuuu uuuu
INDF
72 73 73A 74 74A 76 77
N/A
N/A
N/A
TMR0
72 73 73A 74 74A 76 77 xxxx xxxx
uuuu uuuu
uuuu uuuu
PCL
72 73 73A 74 74A 76 77
0000h
0000h
PC + 1(2)
STATUS
72 73 73A 74 74A 76 77
0001 1xxx
000q quuu(3)
uuuq quuu(3)
FSR
72 73 73A 74 74A 76 77 xxxx xxxx
uuuu uuuu
uuuu uuuu
PORTA
72 73 73A 74 74A 76 77 --0x 0000
--0u 0000
--uu uuuu
PORTB
72 73 73A 74 74A 76 77 xxxx xxxx
uuuu uuuu
uuuu uuuu
PORTC
72 73 73A 74 74A 76 77 xxxx xxxx
uuuu uuuu
uuuu uuuu
PORTD
72 73 73A 74 74A 76 77 xxxx xxxx
uuuu uuuu
uuuu uuuu
PORTE
72 73 73A 74 74A 76 77 ---- -xxx
---- -uuu
---- -uuu
PCLATH 72 73 73A 74 74A 76 77 ---0 0000
---0 0000
---u uuuu
Legend: u = unchanged, x = unknown, - = unimplemented bit, read as '0', q = value depends on condition
Note 1: One or more bits in INTCON, PIR1 and/or PIR2 will be affected (to cause wake-up).
2: When the wake-up is due to an interrupt and the GIE bit is set, the PC is loaded with the interrupt vector
(0004h).
3: See Table 14-7 for reset value for specific condition.
DS30390E-page 136
© 1997 Microchip Technology Inc.