
PIC16C717/770/771
DS41120B-page 118
2002 Microchip Technology Inc.
REGISTER 12-1:
CONFIGURATION WORD FOR 16C717/770/771 DEVICE
CP
BORV1 BORV0
CP
—
BODEN MCLRE PWRTE
WDTE
FOSC2 FOSC1 FOSC0
bit13
bit0
bit 13-12,
9-8
CP: Program Memory Code Protection
1
= Code protection off
0
= All program memory is protected(2)
bit 11-10:
BORV<1:0>: Brown-out Reset Voltage bits
00
= VBOR set to 4.5V
01
= VBOR set to 4.2V
10
= VBOR set to 2.7V
11
= VBOR set to 2.5V
bit 7:
Unimplemented: Read as '1'
bit 6:
BODEN: Brown-out Detect Reset Enable bit(1)
1
= Brown-out Detect Reset enabled
0
= Brown-out Detect Reset disabled
bit 5:
MCLRE: RA5/MCLR pin function select
1
= RA5/MCLR pin function is MCLR
0
= RA5/MCLR pin function is digital input, MCLR internally tied to VDD
bit 4:
PWRTE: Power-up Timer Enable bit(1)
1
= PWRT disabled
0
= PWRT enabled
bit 3:
WDTE: Watchdog Timer Enable bit
1
= WDT enabled
0
= WDT disabled
bit 2-0:
FOSC<2:0>: Oscillator Selection bits
000
= LP oscillator: Crystal/Resonator on RA6/OSC2/CLKOUT and RA7/OSC1/CLKIN
001
= XT oscillator: Crystal/Resonator on RA6/OSC2/CLKOUT and RA7/OSC1/CLKIN
010
= HS oscillator: Crystal/Resonator on RA6/OSC2/CLKOUT and RA7/OSC1/CLKIN
011
= EC: I/O function on RA6/OSC2/CLKOUT pin, CLKIN function on RA7/OSC1/CLKIN
100
= INTRC oscillator: I/O function on RA6/OSC2/CLKOUT pin, I/O function on RA7/OSC1/CLKIN
101
= INTRC oscillator: CLKOUT function on RA6/OSC2/CLKOUT pin, I/O function on RA7/OSC1/CLKIN
110
= ER oscillator: I/O function on RA6/OSC2/CLKOUT pin, Resistor on RA7/OSC1/CLKIN
111
= ER oscillator: CLKOUT function on RA6/OSC2/CLKOUT pin, Resistor on RA7/OSC1/CLKIN
Note 1:
Enabling Brown-out Reset automatically enables the Power-up Timer (PWRT), regardless of the value of bit PWRTE.
Ensure the Power-up Timer is enabled anytime Brown-out Reset is enabled.
2: All of the CP bits must be given the same value to enable code protection.
Legend
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
1 = bit is set
0 = bit is cleared
x = bit is unknown