PIC16CE62X
4.2.2.6 PCON REGISTER
The PCON register contains flag bits to differentiate
between a Power-on Reset, an external MCLR reset,
WDT reset or a Brown-out Reset.
Note: BOD is unknown on Power-on Reset. It
must then be set by the user and checked
on subsequent resets to see if BOD is
cleared, indicating a brown-out has
occurred. The BOD status bit is a "don’t
care" and is not necessarily predictable if
the brown-out circuit is disabled (by
programming BODEN bit in the
configuration word).
REGISTER 4-6: PCON REGISTER (ADDRESS 8Eh)
U-0
U-0
U-0
U-0
U-0
—
—
—
—
—
bit7
bit 7-2: Unimplemented: Read as ’0’
U-0
R/W-0 R/W-0
—
POR
BOD
R = Readable bit
bit0 W = Writable bit
U = Unimplemented bit,
read as ‘0’
-n = Value at POR reset
-x = Unknown at POR reset
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:
BOD: 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)
© 1999 Microchip Technology Inc.
DS40182C-page 19