English
Language : 

PIC16F877-20L Datasheet, PDF (125/218 Pages) Microchip Technology – 28/40-Pin 8-Bit CMOS FLASH Microcontrollers
PIC16F87X
TABLE 12-4: STATUS BITS AND THEIR SIGNIFICANCE
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
1 1 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
Legend: x = don’t care, u = unchanged
TABLE 12-5: RESET CONDITION FOR SPECIAL REGISTERS
Condition
Program
Counter
STATUS
Register
PCON
Register
Power-on Reset
000h
0001 1xxx
---- --0x
MCLR Reset during normal operation
000h
000u uuuu
---- --uu
MCLR Reset during SLEEP
000h
0001 0uuu
---- --uu
WDT Reset
000h
0000 1uuu
---- --uu
WDT Wake-up
PC + 1
uuu0 0uuu
---- --uu
Brown-out Reset
Interrupt wake-up from SLEEP
000h
PC + 1(1)
0001 1uuu
uuu1 0uuu
---- --u0
---- --uu
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).
 1998-2013 Microchip Technology Inc.
DS30292D-page 125