PIC16LF726 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 In-Circuit Debugger Mode bit In-Circuit Debugger enabled, RB6/ICSPCLK and RB7/ICSPDAT are dedicated to the debugger In-Circuit Debugger disabled, RB6/ICSPCLK and RB7/ICSPDAT are general purpose I/O pins PLLEN INTOSC PLLEN Enable Bit INTOSC Frequency is 500 kHz INTOSC Frequency is 16MHz (32x) WDTCS Watchdog Timer Clock Select 1 · unprogrammed 0 · programmed BORV Brown-out Reset Voltage selection bit Brown-out Reset Voltage (VBOR) set to 2.5 V nominal Brown-out Reset Voltage (VBOR) set to 1.9 V nominal BOREN Brown-out Reset Selection bits BOR disabled BOR disabled BOR enabled during operation and disabled in Sleep BOR enabled RES Reserved 1 · unprogrammed 0 · programmed CP Code Protection bit Program memory code protection is enabled Program memory code protection is disabled MCLRE RE3/MCLR pin function select bit RE3/MCLR pin function is digital input, MCLR internally tied to VDD RE3/MCLR pin function is MCLR 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 FOSC Oscillator Selection bits LP oscillator: Low-power crystal on RA6/OSC2/CLKOUT and RA7/OSC1/CLKIN XT oscillator HS oscillator: High-speed crystal/resonator on RA6/OSC2/CLKOUT and RA7/OSC1/CLKIN EC: I/O function on RA6/OSC2/CLKOUT pin, CLKIN on RA7/OSC1/CLKIN INTOSCIO oscillator: I/O function on RA6/OSC2/CLKOUT pin, I/O function on RA7/OSC1/CLKIN INTOSC oscillator: CLKOUT function on RA6/OSC2/CLKOUT pin, I/O function on RA7/OSC1/CLKIN RCIO oscillator: I/O function on RA6/OSC2/CLKOUT pin, RC on RA7/OSC1/CLKIN RC oscillator: CLKOUT function on RA6/OSC2/CLKOUT pin, RC on RA7/OSC1/CLKIN CONFIG2 · 0x2008 0xFFFF default 0xFFFF VCAPEN Voltage Regulator Capacitor Enable bits VCAP functionality is enabled on RA0 VCAP functionality is enabled on RA5 VCAP functionality is enabled on RA6 All VCAP pin functions are disabled