Datasheet
2011-2012 Microchip Technology Inc. Preliminary DS41579D-page 45
PIC16(L)F1782/3
bit 2-0 FOSC<2:0>: Oscillator Selection bits
111 = ECH: External Clock, High-Power mode (4-20 MHz): device clock supplied to CLKIN pin
110 = ECM: External Clock, Medium-Power mode (0.5-4 MHz): device clock supplied to CLKIN pin
101 = ECL: External Clock, Low-Power mode (0-0.5 MHz): device clock supplied to CLKIN pin
100 = INTOSC oscillator: I/O function on CLKIN pin
011 = EXTRC oscillator: External RC circuit connected to CLKIN pin
010 = HS oscillator: High-speed crystal/resonator connected between OSC1 and OSC2 pins
001 = XT oscillator: Crystal/resonator connected between OSC1 and OSC2 pins
000 =LP oscillator: Low-power crystal connected between OSC1 and OSC2 pins
Note 1: The entire data EEPROM will be erased when the code protection is turned off during an erase.Once the
Data Code Protection bit is enabled, (CPD
= 0), the Bulk Erase Program Memory Command (through
ICSP) can disable the Data Code Protection (CPD
=1). When a Bulk Erase Program Memory Command
is executed, the entire Program Flash Memory, Data EEPROM and configuration memory will be erased.
REGISTER 4-1: CONFIG1: CONFIGURATION WORD 1 (CONTINUED)