PIC16F747 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 CP Flash Program Memory Code Protection bits 0000h to 0FFFh code-protected Code protection off CCP2MX CCP2 Multiplex bit CCP2 is on RB3 CCP2 is on RC1 DEBUG In-Circuit Debugger Mode bit In-Circuit Debugger enabled, RB6 and RB7 are dedicated to the debugger In-Circuit Debugger disabled, RB6 and RB7 are general purpose I/O pins BORV Brown-out Reset Voltage bits VBOR set to 4.5V VBOR set to 4.2V VBOR set to 2.7V VBOR set to 2.0V BOREN Brown-out Reset Enable bit Disabled Enabled MCLRE MCLR/VPP/RE3 Pin Function Select bit MCLR/VPP/RE3 pin function is digital input only, MCLR gated to '1' MCLR/VPP/RE3 pin function is MCLR FOSC Oscillator Selection bits LP oscillator XT oscillator HS oscillator EXTCLK; port I/O function on OSC2/CLKO/RA6 INTRC oscillator; port I/O function on OSC1/CLKI/RA7 and OSC2/CLKO/RA6 INTRC oscillator; CLKO function on OSC2/CLKO/RA6 and port I/O function on OSC1/CLKI/RA7 EXTRC oscillator; port I/O function on OSC2/CLKO/RA6 EXTRC oscillator; CLKO function on OSC2/CLKO/RA6 PWRTE Power-up Timer Enable bit PWRT enabled PWRT disabled WDTE Watchdog Timer Enable bit WDT disabled WDT enabled CONFIG2 · 0x2008 0x3FFF default 0x3FFF BORSEN Brown-out Reset Software Enable bit Disabled Enabled IESO Internal External Switchover bit Internal External Switchover mode disabled Internal External Switchover mode enabled FCMEN Fail-Safe Clock Monitor Enable bit Fail-Safe Clock Monitor disabled Fail-Safe Clock Monitor enabled