Datasheet

2011 Microchip Technology Inc. Preliminary DS41576B-page 25
PIC12F752/HV752
2.2.2.8 PCON Register
The Power Control (PCON) register (see Tab le 17- 2 )
contains flag bits to differentiate between a:
Power-on Reset (POR
)
Brown-out Reset (BOR)
Watchdog Timer Reset (WDT)
External MCLR
Reset
The PCON register also controls the software enable of
the BOR
.
The PCON register bits are shown in Register 2-8.
REGISTER 2-8: PCON: POWER CONTROL REGISTER
U-0 U-0 U-0 U-0 U-0 U-0 R/W-q/u R/W-q/u
—PORBOR
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared q = unchanged
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)