PIC16F721 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.
CONFIG1 · 0x2007 0x3FFF default 0x3FFF DEBUG Debugger Mode Background debugger is enabled Background debugger is disabled PLLEN INTOSC PLLEN Enable Bit INTOSC Frequency is 500 kHz INTOSC Frequency is 16 MHz (32x) BOREN Brown-out Reset Enable bits Brown-out Reset disabled (Preconditioned State) Brown-out Reset enabled during operation and disabled in Sleep Brown-out Reset enabled CP Flash Program Memory Code Protection bit 0000h to 0FFFh code protection on Code protection off MCLRE RA3/MCLR/VPP Pin Function Select bit RA3/MCLR/VPP pin function is digital input; MCLR internally disabled; Weak pull-up disabled RA3/MCLR/VPP pin function is MCLR; Weak pull-up enabled. PWRTE Power-up Timer Enable bit PWRT enabled PWRT disabled WDTE Watchdog Timer Enable bit WDT disabled WDT enabled FOSC Oscillator Selection bits INTOSCIO oscillator: I/O function on RA4/CLKO pin, I/O function on RA5/CLKI INTOSC oscillator: CLKO function on RA4/CLKO pin, I/O function on RA5/CLKI EC oscillator: I/O function on RA4/CLKO pin, CLKI on RA5/CLKI EC oscillator: CLKO function on RA4/CLKO pin, CLKI on RA5/CLKI CONFIG2 · 0x2008 0xFFFF default 0xFFFF VCAPEN All VCAP pin functions are disabled. WRTEN Flash memory self-write protection bits 0h to FFFh of flash memory write protected, no address may be modified 0h to 7FFh of flash memory write protected, 800h to FFFh may be modified 0h to 1FFh of flash memory write protected, 200h to FFFh may be modified Write protection off