Microchip Technology AC244045 Data Sheet

Page of 448
PIC16(L)F1825/1829
DS41440C-page 50
 2010-2012 Microchip Technology Inc.
             
REGISTER 4-1:
CONFIGURATION WORD 1
R/P-1/1
R/P-1/1
R/P-1/1
R/P-1/1
R/P-1/1
R/P-1/1
FCMEN
IESO
CLKOUTEN
BOREN<1:0>
CPD
bit 13
bit 8
R/P-1/1
R/P-1/1
R/P-1/1
R/P-1/1
R/P-1/1
R/P-1/1
R/P-1/1
R/P-1/1
CP
MCLRE
PWRTE
WDTE<1:0>
FOSC<2:0
bit 7
bit 0
Legend:
R = Readable bit
P = Programmable bit
U = Unimplemented bit, read as ‘1’
‘0’ = Bit is cleared
‘1’ = Bit is set
-n = Value when blank or after Bulk Erase
bit 13 
FCMEN: Fail-Safe Clock Monitor Enable bit
1 = Fail-Safe Clock Monitor is enabled
0 = Fail-Safe Clock Monitor is disabled
bit 12
IESO: Internal External Switchover bit
1 = Internal/External Switchover mode is enabled
0 = Internal/External Switchover mode is disabled
bit 11
CLKOUTEN: Clock Out Enable bit
If FOSC configuration bits are set to LP, XT, HS modes:
This bit is ignored, CLKOUT function is disabled. Oscillator function on the CLKOUT pin.
All other FOSC modes:
1 = CLKOUT function is disabled. I/O function on the CLKOUT pin.
0 = CLKOUT function is enabled on the CLKOUT pin 
bit 10-9
BOREN<1:0>: Brown-out Reset Enable bits
(1)
11 = BOR enabled
10 = BOR enabled during operation and disabled in Sleep
01 = BOR controlled by SBOREN bit of the BORCON register
00 = BOR disabled
bit 8
CPD: Data Code Protection bit
(2)
1 = Data memory code protection is disabled
0 = Data memory code protection is enabled
bit 7
CP: Code Protection bit
(3)
1 = Program memory code protection is disabled
0 = Program memory code protection is enabled
bit 6
MCLRE: RA3/MCLR/V
PP
 Pin Function Select bit
If LVP bit = 1:
This bit is ignored.
If LVP bit = 0:
1  = MCLR/V
PP
 pin function is MCLR; Weak pull-up enabled.
0  = MCLR/V
PP
 pin function is digital input; MCLR internally disabled; Weak pull-up under control of
WPUA register.
bit 5
PWRTE: Power-up Timer Enable bit
(1)
1 = PWRT disabled
0 = PWRT enabled
bit 4-3
WDTE<1:0>: Watchdog Timer Enable bit
11 = WDT enabled
10 = WDT enabled while running and disabled in Sleep
01 = WDT controlled by the SWDTEN bit in the WDTCON register
00 = WDT disabled
Note 1:
Enabling Brown-out Reset does not automatically enable Power-up Timer.
2:
The entire data EEPROM will be erased when the code protection is turned off during an erase.
3:
The entire program memory will be erased when the code protection is turned off.