PIC16F873A/874A/876A/877A
CP
_
DEBUG
WRT1
WRT0
CPD
LVP
BOREN
_
_
PWRTEN
WDTEN
FOSC1
F0SC0
bit 13
bit 0
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:
FOSC1:FOSC0
: Oscillator Selection bits
11 = RC oscillator
10 = HS oscillator
01 = XT oscillator
00 = LP oscillator
Note
:
1
:
The erased (unprogrammed) value of the Configuration Word is 3FFFh.
Configuration Word:
Any questions? Go to the contact page and fill out the contact form, or Email:
jakeselectronics@hotmail.com
//
Find me on: