Datasheet
2013 Microchip Technology Inc. DS22331A-page 79
MCP19111
12.0 DEVICE CONFIGURATION
Device Configuration consists of Configuration Word,
Code Protection and Device ID.
12.1 Configuration Word
There are several Configuration Word bits that allow
different timers to be enabled and memory protection
options. These are implemented as Configuration
Word at 2007h
.
Note: The DBGEN bit in Configuration Word is
managed automatically by device
development tools, including debuggers
and programmers. For normal device
operation, this bit should be maintained as
a '1'.
REGISTER 12-1: CONFIG – CONFIGURATION WORD REGISTER
R/P-1 U-1 R/P-1 R/P-1 U-1 U-1
DBGEN
—WRT1WRT0 — —
bit 13 bit 8
U-1 R/P-1 R/P-1 R/P-1 R/P-1 U-1 U-1 U-1
—CPMCLRE PWRTE WDTE — — —
bit 7 bit 0
Legend:
R = Readable bit P = Programmable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
bit 13 DBGEN
: ICD Debug bit
1 = ICD debug mode disabled
0 = ICD debug mode enabled
bit 12 Unimplemented: Read as ‘1’
bit 11-10 WRT<1:0>: Flash Program Memory Self Write Enable bit
11 = Write protection off
10 = 000h to 3FFh write protected, 400h to FFFh may be modified by PMCON1 control
01 = 000h to 7FFh write protected, 800h to FFFh may be modified by PMCON1 control
00 = 000h to FFFh write protected, entire program memory is write protected.
bit 9-7 Unimplemented: Read as ‘1’
bit 6 CP
: Code Protection
1 = Program memory code protection is disabled
0 = Program memory code protection is enabled
bit 5 MCLRE
: MCLR Pin Function Select
1 =MCLR
pin is MCLR function and weak internal pull-up is enabled
0 =MCLR
pin is alternate function, MCLR function is internally disabled
bit 4 PWRTE
: Power-up Timer Enable bit
(1)
1 = PWRT disabled
0 = PWRT enabled
bit 3 WDTE: Watchdog Timer Enable bit
1 = WDT enabled
0 = WDT disabled
bit 2-0 Unimplemented: Read as ‘1’
Note 1: Bit is reserved and not controlled by user.