English
Language : 

PIC16F870_13 Datasheet, PDF (93/172 Pages) Microchip Technology – 28/40-Pin, 8-Bit CMOS FLASH Microcontrollers
PIC16F870/871
TABLE 11-4: STATUS BITS AND THEIR SIGNIFICANCE
POR BOR TO PD
0
0
0
1
1
1
1
1
Legend:
x
1 1 Power-on Reset
x
0 x Illegal, TO is set on POR
x
x 0 Illegal, PD is set on POR
0
1 1 Brown-out Reset
1
0 1 WDT Reset
1
0 0 WDT Wake-up
1
u u MCLR Reset during normal operation
1
1 0 MCLR Reset during SLEEP or interrupt wake-up from SLEEP
x = don’t care, u = unchanged
TABLE 11-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).
TABLE 11-6: INITIALIZATION CONDITIONS FOR ALL REGISTERS
Register
Devices
Power-on Reset,
Brown-out Reset
MCLR Resets
WDT Reset
Wake-up via WDT or
Interrupt
W
INDF
TMR0
PCL
STATUS
FSR
PORTA
PORTB
PORTC
PORTD
PORTE
PCLATH
INTCON
Legend:
Note 1:
2:
3:
PIC16F870 PIC16F871
xxxx xxxx
uuuu uuuu
uuuu uuuu
PIC16F870 PIC16F871
N/A
N/A
N/A
PIC16F870 PIC16F871
xxxx xxxx
uuuu uuuu
uuuu uuuu
PIC16F870 PIC16F871
0000h
0000h
PC + 1(2)
PIC16F870 PIC16F871
0001 1xxx
000q quuu(3)
uuuq quuu(3)
PIC16F870 PIC16F871
xxxx xxxx
uuuu uuuu
uuuu uuuu
PIC16F870 PIC16F871
--0x 0000
--0u 0000
--uu uuuu
PIC16F870 PIC16F871
xxxx xxxx
uuuu uuuu
uuuu uuuu
PIC16F870 PIC16F871
xxxx xxxx
uuuu uuuu
uuuu uuuu
PIC16F870 PIC16F871
xxxx xxxx
uuuu uuuu
uuuu uuuu
PIC16F870 PIC16F871
---- -xxx
---- -uuu
---- -uuu
PIC16F870 PIC16F871
---0 0000
---0 0000
---u uuuu
PIC16F870 PIC16F871
0000 000x
0000 000u
uuuu uuuu(1)
u = unchanged, x = unknown, - = unimplemented bit, read as '0', q = value depends on condition,
r = reserved, maintain clear
One or more bits in INTCON, PIR1 and/or PIR2 will be affected (to cause wake-up).
When the wake-up is due to an interrupt and the GIE bit is set, the PC is loaded with the interrupt vector
(0004h).
See Table 11-5 for RESET value for specific condition.
 2000-2013 Microchip Technology Inc.
DS30569C-page 93