English
Language : 

PIC16F737-I Datasheet, PDF (30/276 Pages) Microchip Technology – 28/40/44-Pin, 8-Bit CMOS Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology
PIC16F7X7
2.2.2.8 PCON Register
The Power Control (PCON) register contains flag bits
to allow differentiation between a Power-on Reset
(POR), a Brown-out Reset (BOR), a Watchdog Reset
(WDT) and an external MCLR Reset.
Note:
BOR is unknown on POR. It must be set
by the user and checked on subsequent
Resets to see if BOR is clear, indicating a
brown-out has occurred. The BOR status
bit is not predictable if the brown-out circuit
is disabled (by clearing the BOREN bit in
the Configuration Word register).
REGISTER 2-8:
PCON: POWER CONTROL/STATUS REGISTER (ADDRESS 8Eh)
U-0
U-0
U-0
U-0
U-0
R/W-1 R/W-0
—
—
—
—
—
SBOREN POR
bit 7
R/W-1
BOR
bit 0
bit 7-3
bit 2
bit 1
bit 0
Unimplemented: Read as ‘0’
SBOREN: Software Brown-out Reset Enable bit
If BORSEN in Configuration Word 2 is a ‘1’ and BOREN in Configuration Word 1 is ‘0’:
1 = BOR enabled
0 = BOR disabled
POR: Power-on Reset Status bit
1 = No Power-on Reset occurred
0 = A Power-on Reset occurred (must be set in software after a Power-on Reset occurs)
BOR: Brown-out Reset Status bit
1 = No Brown-out Reset occurred
0 = A Brown-out Reset occurred (must be set in software after a Brown-out Reset occurs)
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared x = Bit is unknown
DS30498C-page 28
 2004 Microchip Technology Inc.