Datasheet

PIC16C62B/72A
DS35008C-page 16 Preliminary 1998-2013 Microchip Technology Inc.
2.2.2.6 PCON REGISTER
The Power Control register (PCON) contains flag bits to
allow differentiation between a Power-on Reset (POR),
Brown-Out Reset (BOR) and resets from other
sources. .
REGISTER 2-6: PCON REGISTER (ADDRESS 8Eh)
Note: On Power-on Reset, the state of the BOR
bit is unknown and is not predictable.
If the BODEN bit in the configuration word
is set, the user must first set the BOR bit on
a POR, and check it on subsequent resets.
If BOR is cleared while POR remains set,
a Brown-out reset has occurred.
If the BODEN bit is clear, the BOR bit may
be ignored.
U-0 U-0 U-0 U-0 U-0 U-0 R/W-0 R/W-q
—PORBOR R = Readable bit
W = Writable bit
U = Unimplemented bit,
read as ‘0’
- n = Value at POR reset
bit7 bit0
bit 7-2: Unimplemented: Read as '0'
bit 1: 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)
bit 0: 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)