PIC12F508/509/16F505
REGISTER 7-2:
CONFIGURATION WORD FOR PIC16F505(1)
—
—
—
—
—
—
MCLRE CP
WDTE FOSC2 FOSC1 FOSC0
bit 0
bit 11
bit 11-6 Unimplemented: Read as ‘0’
bit 5
bit 4
bit 3
MCLRE: RB3/MCLR Pin Function Select bit
1= RB3/MCLR pin function is MCLR
0= RB3/MCLR pin function is digital I/O, MCLR internally tied to VDD
CP: Code Protection bit
1= Code protection off
0= Code protection on
WDTE: Watchdog Timer Enable bit
1= WDT enabled
0= WDT disabled
bit 2-0 FOSC<1:0>: Oscillator Selection bits
111= External RC oscillator/CLKOUT function on RB4/OSC2/CLKOUT pin
110= External RC oscillator/RB4 function on RB4/OSC2/CLKOUT pin
101= Internal RC oscillator/CLKOUT function on RB4/OSC2/CLKOUT pin
100= Internal RC oscillator/RB4 function on RB4/OSC2/CLKOUT pin
011= EC oscillator/RB4 function on RB4/OSC2/CLKOUT pin
010= HS oscillator
001= XT oscillator
000= LP oscillator
Note 1: Refer to the “PIC16F505 Memory Programming Specifications” (DS41226) to determine how to
access the Configuration Word. The Configuration Word is not user addressable during device
operation.
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
‘1’ = bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = bit is cleared x = bit is unknown
DS41236C-page 40
Preliminary
© 2007 Microchip Technology Inc.