PIC18F010/020
REGISTER 12-1:
CONFIG1H: CONFIGURATION BYTE (ADDRESS 300001h)
U-0
—
bit 7
U-0
U-0
R/P-1
U-0
R/P-1
—
OSCEN MCLRE
—
FOSC2
R/P-0
FOSC1
R/P-0
FOSC0
bit 0
bit 7-6
bit 5
bit 4
bit 3
bit 2-0
Unimplemented: Read as ’0’
OSCEN: Oscillator Enable bit
1 = Switching to the internal oscillator is enabled
0 = Switching to the internal oscillator is disabled
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
Unimplemented: Read as ’0’
FOSC2:FOSC0: Oscillator Selection bits
111 = External RC oscillator/CLKOUT function on RB4/OSC2/CLKOUT pin
110 = EC external clock/CLKOUT function on RB4/OSC2/CLKOUT pin
101 = Internal oscillator/CLKOUT function on RB4/OSC2/CLKOUT pin,
RB5 function on RB5/OSC1/CLKIN pin
100 = Internal oscillator/RB4 function on RB4/OSC2/CLKOUT pin,
RB5 function on RB5/OSC1/CLKIN pin
011 = External RC oscillator/RB4 function on RB4/OSC2/CLKOUT pin
010 = HS oscillator
001 = XT oscillator
000 = LP oscillator
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
DS41142A-page 84
Preliminary
2001 Microchip Technology Inc.