PICRF675H 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 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 BOREN Brown-out Detect Enable bit BOD disabled BOD enabled MCLRE GP3/MCLR pin function select GP3/MCLR pin function is digital I/O, MCLR internally tied to VDD GP3/MCLR pin function is MCLR PWRTE Power-Up Timer Enable bit PWRT enabled PWRT disabled WDTE Watchdog Timer Enable bit WDT disabled WDT enabled FOSC Oscillator Selection bits LP oscillator: Low power crystal on GP4/OSC2/CLKOUT and GP5/OSC1/CLKIN XT oscillator: Crystal/resonator on GP4/OSC2/CLKOUT and GP5/OSC1/CLKIN HS oscillator: High speed crystal/resonator on GP4/OSC2/CLKOUT and GP5/OSC1/CLKIN EC: I/O function on GP4/OSC2/CLKOUT pin, CLKIN on GP5/OSC1/CLKIN INTOSC oscillator: I/O function on GP4/OSC2/CLKOUT pin, I/O function on GP5/OSC1/CLKIN INTOSC oscillator: CLKOUT function on GP4/OSC2/CLKOUT pin, I/O function on GP5/OSC1/CLKIN RC oscillator: I/O function on GP4/OSC2/CLKOUT pin, RC on GP5/OSC1/CLKIN RC oscillator: CLKOUT function on GP4/OSC2/CLKOUT pin, RC on GP5/OSC1/CLKIN