PIC16F88 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 bit 0000h to 0FFFh code-protected (all protected) Code protection off CCPMX CCP1 Pin Selection bit CCP1 function on RB3 CCP1 function on RB0 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 WRT Flash Program Memory Write Enable bits 0000h to 0FFFh write-protected 0000h to 07FFh write-protected, 0800h to 0FFFh may be modified by EECON control 0000h to 00FFh write-protected, 0100h to 0FFFh may be modified by EECON control Write protection off CPD Data EE Memory Code Protection bit Data EE memory code-protected Code protection off LVP Low-Voltage Programming Enable bit RB3 is digital I/O, HV on MCLR must be used for programming RB3/PGM pin has PGM function, Low-Voltage Programming enabled BOREN Brown-out Reset Enable bit BOR disabled BOR enabled MCLRE RA5/MCLR/VPP Pin Function Select bit RA5/MCLR/VPP pin function is digital I/O, MCLR internally tied to VDD RA5/MCLR/VPP pin function is MCLR FOSC Oscillator Selection bits LP oscillator XT oscillator HS oscillator ECIO; port I/O function on RA6/OSC2/CLKO INTRC oscillator; port I/O function on both RA6/OSC2/CLKO pin and RA7/OSC1/CLKI pin INTRC oscillator; CLKO function on RA6/OSC2/CLKO pin and port I/O function on RA7/OSC1/CLKI pin EXTRC oscillator; port I/O function on RA6/OSC2/CLKO EXTRC oscillator; CLKO function on RA6/OSC2/CLKO PWRTE Power-up Timer Enable bit PWRT enabled PWRT disabled WDTE Watchdog Timer Enable bit WDT disabled WDT enabled CONFIG2 · 0x2008 0x3FFF default 0x3FFF 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