AN201
Rev 1.5 | 48/91
www.cmostek.com
4.1.20 PCON
(
Addr:0x8E
)
Table 63. PCON Register
Name
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
PCON
-
-
-
-
-
-
/POR
/BOR
Reset
-
-
-
-
-
-
q
q
Type
-
-
-
-
-
-
RW
RW
Table 64. PCON Bit Function Description
4.1.21 OSCCON (Addr:0x8F)
Table 65. OSCCON Register
Name
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
OSCCON
LFMOD
IRCF<2:0>
OSTS
HTS
LTS
SCS
Reset
0
101
1
0
0
0
Type
RW
RW
R
R
R
RW
1
TMR2IE
Timer 2 and PR2 compare matching interrupt enabling bit.
1 = enable
0 = disable
Bit
Name
Function
1
/POR
Power-on reset flag, active low.
0 = power on reset occurs
1 = no power on reset occurs
/POR is set to 0 after a power-on reset occurs. It should be set to 1 by the software after
then.
0
/BOR
Brown-out reset flag, active low.
0 = brown-out reset occurs
1 = no brown-out reset occurs or it is set to 1 by software.