PIC16F871 Microchip Technology Inc., PIC16F871 Datasheet - Page 90

no-image

PIC16F871

Manufacturer Part Number
PIC16F871
Description
28/40-pin, 8-bit Cmos Flash Microcontrollers
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F871-E/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16F871-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16F871-I/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16F871-I/P
Manufacturer:
Microchip Technology
Quantity:
1 984
Part Number:
PIC16F871-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16F871T-E/L
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC16F870/871
REGISTER 11-1:
DS30569B-page 88
bit 13
bit 13-12,
bit 5-4
bit 11
bit 10
bit 9
bit 8
bit 7
bit 6
bit 3
bit 2
bit 1-0
CP1
Note 1: The erased (unprogrammed) value of the configuration word is 3FFFh.
2: All of the CP1:CP0 pairs have to be given the same value to enable the code protection scheme listed.
3: Enabling Brown-out Reset automatically enables Power-up Timer (PWRT), regardless of the value of bit
CP0
PWRTEN. Ensure the Power-up Timer is enabled any time Brown-out Reset is enabled.
CP1:CP0: FLASH Program Memory Code Protection bits
11 = Code protection off
10 = Not supported
01 = Not supported
00 = Code protection on
DEBUG: In-Circuit Debugger Mode
1 = In-Circuit Debugger disabled, RB6 and RB7 are general purpose I/O pins
0 = In-Circuit Debugger enabled, RB6 and RB7 are dedicated to the debugger
Unimplemented: Read as ‘1’
WRT: FLASH Program Memory Write Enable
1 = Unprotected program memory may be written to by EECON control
0 = Unprotected program memory may not be written to by EECON control
CPD: Data EE Memory Code Protection
1 = Code protection off
0 = Data EEPROM memory code protected
LVP: Low Voltage In-Circuit Serial Programming Enable bit
1 = RB3/PGM pin has PGM function, low voltage programming enabled
0 = RB3 is digital I/O, HV on MCLR must be used for programming
BOREN: Brown-out Reset Enable bit
1 = BOR enabled
0 = BOR disabled
PWRTEN: Power-up Timer Enable bit
1 = PWRT disabled
0 = PWRT enabled
WDTEN: Watchdog Timer Enable bit
1 = WDT enabled
0 = WDT disabled
FOSC1:FOSC0: Oscillator Selection bits
11 = RC oscillator
10 = HS oscillator
01 = XT oscillator
00 = LP oscillator
Legend:
R = Readable bit
- n = Value at POR
DEBUG
CONFIGURATION WORD (ADDRESS 2007h)
WRT CPD LVP BOREN
W = Writable bit
‘1’ = Bit is set
(3)
(3)
CP1
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
CP0 PWRTEN WDTEN FOSC1 FOSC0
(2)
(1)
 2003 Microchip Technology Inc.
x = Bit is unknown
bit 0

Related parts for PIC16F871