Datasheet
PIC16F527
DS41652A-page 42 Preliminary 2012 Microchip Technology Inc.
8.2 Register Definitions — Configuration Word
REGISTER 8-1: CONFIG: CONFIGURATION WORD REGISTER
U-1 U-1 R/P-1 R/P-1 R/P-1 R/P-1 R/P-1 R/P-1 R/P-1 R/P-1 R/P-1 R/P-1
— — DRTEN BOREN CPSW IOSCFS MCLRE CP WDTE FOSC2 FOSC1 FOSC0
bit 11 bit 0
Legend:
R = Readable bit P = Programmable bit U = Unimplemented bit, read as ‘1’
‘0’ = Bit is cleared ‘1’ = Bit is set -n = Value when blank or after Bulk Erase
bit 11-10 Unimplemented: Read as ‘1’
bit 9 DRTEN: Device Reset Timer Enable bit
1 =DRT Enabled (18ms)
0 =DRT Disabled
bit 8 BOREN: Brown-out Reset Enable bit
1 = BOR Enabled
0 = BOR Disabled
bit 7 CPSW
: Code Protection bit – Self Writable Memory
1 = Code protection off
0 = Code protection on
bit 6 IOSCFS: Internal Oscillator Frequency Select bit
1 = 8 MHz INTOSC speed
0 = 4 MHz INTOSC speed
bit 5 MCLRE: Master Clear Enable bit
1 =RA3/MCLR pin functions as MCLR
0 =RA3/MCLR pin functions as RA3, MCLR tied internally to VDD
bit 4 CP: Code Protection bit – User Program Memory
1 = Code protection off
0 = Code protection on
bit 3 WDTE: Watchdog Timer Enable bit
1 = WDT enabled
0 = WDT disabled
bit 2-0 FOSC<2:0>: Oscillator Selection bits
000 = LP oscillator and automatic 18 ms DRT (DRTEN fuse ignored)
001 = XT oscillator and automatic 18 ms DRT (DRTEN fuse ignored)
010 = HS oscillator and automatic 18 ms DRT (DRTEN fuse ignored)
011 = EC oscillator with RA4 function on RA4/OSC2/CLKOUT and 10 us start-up time
(2,3)
100 = INTRC with RA4 function on RA4/OSC2/CLKOUT and 10 us start-up time
(2,3)
101 = INTRC with CLKOUT function on RA4/OSC2/CLKOUT and 10 us start-up time
(2,3)
110 = EXTRC with RA4 function on RA4/OSC2/CLKOUT and 10 us start-up time
(2,3)
111 = EXTRC with CLKOUT function on RA4/OSC2/CLKOUT and 10 us start-up time
(2,3)
Note 1: Refer to the “PIC16F527 Memory Programming Specification”, DS41640 to determine how to access the
Configuration Word.
2: DRT length and start-up time are functions of the Clock mode selection. It is the responsibility of the
application designer to ensure the use of either will result in acceptable operation. Refer to Section 15.0
“Electrical Characteristics” for V
DD rise time and stability requirements for this mode of operation.
3: The optional DRTEN fuse can be used to extend the start-up time to 18 ms.