MCP19124 configuration bits The configuration words set the oscillator, the watchdog, the power-up timer, brown-out reset, low-voltage programming and code protection. Pick a setting and the word below updates; the starting values are the defaults in Microchip's device file. In XC8 each setting is a #pragma config NAME = SETTING line.
CONFIG · 0x2007 0x3FFF default 0x3FFF DEBUG ICD Debug Mode Enable bits ICD Debug Mode Enabled ICD Debug Mode Disabled WRT Flash Program Memory Self Write Enable bits 000h to FFFh write protected, entire program memory is write protected. 000h to 7FFh write protected, 800h to FFFh may be modified by PMCON1 control 000h to 3FFh write protected, 400h to FFFh may be modified by PMCON1 control Write protection off BOREN Brown-out Reset Enable bit BOR disabled BOR disabled during sleep and enabled during operation CP Code Protection bit Program memory is external read and write protected Program memory is not code protected MCLRE MCLR Pin Function Select bit MCLR pin is alternate function, MCLR function is internally disabled MCLR pin is MCLR function and weak internal pull-up is enabled PWRTE Power-up Timer Enable bit PWRT enabled PWRT disabled WDTE Watchdog Timer Enable bit WDT disabled and can be enabled by SWDTEN bit of the WDTCON register WDT enabled