PIC16F690 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 FCMEN Fail-Safe Clock Monitor Enabled bit Fail-Safe Clock Monitor is disabled Fail-Safe Clock Monitor is enabled IESO Internal External Switchover bit Internal External Switchover mode is disabled Internal External Switchover mode is enabled BOREN Brown-out Reset Selection bits BOR disabled BOR controlled by SBOREN bit of the PCON register BOR enabled during operation and disabled in Sleep BOR enabled CPD Data Code Protection bit Data memory code protection is enabled Data memory code protection is disabled CP Code Protection bit Program memory code protection is enabled Program memory code protection is disabled MCLRE MCLR Pin Function Select bit MCLR pin function is digital input, MCLR internally tied to VDD 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 OSC Oscillator Selection bits LP oscillator: Low-power crystal on RA4/OSC2/CLKOUT and RA5/OSC1/CLKIN XT oscillator: Crystal/resonator on RA4/OSC2/CLKOUT and RA5/OSC1/CLKIN HS oscillator: High-speed crystal/resonator on RA4/OSC2/CLKOUT and RA5/OSC1/CLKIN EC: I/O function on RA4/OSC2/CLKOUT pin, CLKIN on RA5/OSC1/CLKIN INTOSCIO oscillator: I/O function on RA4/OSC2/CLKOUT pin, I/O function on RA5/OSC1/CLKIN INTOSC oscillator: CLKOUT function on RA4/OSC2/CLKOUT pin, I/O function on RA5/OSC1/CLKIN RCIO oscillator: I/O function on RA4/OSC2/CLKOUT pin, RC on RA5/OSC1/CLKIN RC oscillator: CLKOUT function on RA4/OSC2/CLKOUT pin, RC on RA5/OSC1/CLKIN