PIC16LF873 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 CP FLASH Program Memory Code Protection bits 0000h to 0FFFh code protected 0800h to 0FFFh code protected 0F00h to 0FFFh code protected Code protection off 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 Unprotected program memory may not be written to by EECON control Unprotected program memory may be written to by EECON control CPD Data EE Memory Code Protection Data EEPROM memory code-protected Code Protection off LVP Low Voltage In-Circuit Serial 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 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 XT oscillator HS oscillator RC oscillator