Datasheets»Microchip Technology»PIC16F87XATI/SP Datasheet

PIC16F87XATI/SP Datasheet - Page 144

Download or read online Microchip Technology PIC16F87XATI/SP 28/40/44-Pin Enhanced Flash Microcontrollers pdf datasheet.



Page
144 of 234
prevnext
PIC16F87XA
REGISTER 14-1:
CONFIGURATION WORD (ADDRESS 2007h)
R/P-1
U-0
R/P-1
R/P-1
R/P-1 R/P-1 R/P-1
CP
DEBUG WRT1 WRT0
bit 13
bit 13
CP: Flash Program Memory Code Protection bit
1 = Code protection off
0 = All program memory code-protected
bit 12
Unimplemented: Read as ‘1’
bit 11
DEBUG: In-Circuit Debugger Mode bit
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
bit 10-9
WRT1:WRT0 Flash Program Memory Write Enable bits
For PIC16F876A/877A:
11 = Write protection off; all program memory may be written to by EECON control
10 = 0000h to 00FFh write-protected; 0100h to 1FFFh may be written to by EECON control
01 = 0000h to 07FFh write-protected; 0800h to 1FFFh may be written to by EECON control
00 = 0000h to 0FFFh write-protected; 1000h to 1FFFh may be written to by EECON control
For PIC16F873A/874A:
11 = Write protection off; all program memory may be written to by EECON control
10 = 0000h to 00FFh write-protected; 0100h to 0FFFh may be written to by EECON control
01 = 0000h to 03FFh write-protected; 0400h to 0FFFh may be written to by EECON control
00 = 0000h to 07FFh write-protected; 0800h to 0FFFh may be written to by EECON control
bit 8
CPD: Data EEPROM Memory Code Protection bit
1 = Data EEPROM code protection off
0 = Data EEPROM code-protected
bit 7
LVP: Low-Voltage (Single-Supply) 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
bit 6
BOREN: Brown-out Reset Enable bit
1 = BOR enabled
0 = BOR disabled
bit 5-4
Unimplemented: Read as ‘1’
bit 3
PWRTEN: Power-up Timer Enable bit
1 = PWRT disabled
0 = PWRT enabled
bit 2
WDTEN: Watchdog Timer Enable bit
1 = WDT enabled
0 = WDT disabled
bit 1-0
F
1:F
0: Oscillator Selection bits
OSC
OSC
11 = RC oscillator
10 = HS oscillator
01 = XT oscillator
00 = LP oscillator
Legend:
R = Readable bit
- n = Value when device is unprogrammed
Note 1:
The erased (unprogrammed) value of the Configuration Word is 3FFFh.
DS39582C-page 144
(1)
R/P-1
U-0
U-0
CPD
LVP
BOREN
PWRTEN WDTEN F
P = Programmable bit
U = Unimplemented bit, read as ‘0’
u = Unchanged from programmed state
R/P-1
R/P-1
R/P-1
R/P-1
1 F
0
OSC
OSC
bit0
 2001-2013 Microchip Technology Inc.

Comments to this Datasheet