Datasheet

PIC12F508/509/16F505
DS41236E-page 42 © 2009 Microchip Technology Inc.
REGISTER 7-1: CONFIGURATION WORD FOR PIC12F508/509
(1)
MCLRE CP WDTE FOSC1 FOSC0
bit 11 bit 0
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
bit 11-5 Unimplemented: Read as ‘0
bit 4 MCLRE: GP3/MCLR
Pin Function Select bit
1 = GP3/MCLR
pin function is MCLR
0 = GP3/MCLR pin function is digital input, MCLR internally tied to VDD
bit 3 CP: Code Protection bit
1 = Code protection off
0 = Code protection on
bit 2 WDTE: Watchdog Timer Enable bit
1 = WDT enabled
0 = WDT disabled
bit 1-0 FOSC<1:0>: Oscillator Selection bits
11 = EXTRC = external RC oscillator
10 = INTRC = internal RC oscillator
01 = XT oscillator
00 = LP oscillator
Note 1: Refer to the “PIC12F508/509 Memory Programming Specifications” (DS41227) to determine how to
access the Configuration Word. The Configuration Word is not user addressable during device operation.