Microchip Technology DM164134 Ficha De Dados
PIC18FXX8
DS41159E-page 266
© 2006 Microchip Technology Inc.
REGISTER 24-1:
CONFIG1H: CONFIGURATION REGISTER 1 HIGH (BYTE ADDRESS 300001h)
REGISTER 24-2:
CONFIG2L: CONFIGURATION REGISTER 2 LOW (BYTE ADDRESS 300002h)
U-0
U-0
R/P-1
U-0
U-0
R/P-1
R/P-1
R/P-1
—
—
OSCSEN
—
—
FOSC2
FOSC1
FOSC0
bit 7
bit 0
bit 7-6
Unimplemented: Read as ‘0’
bit 5
OSCSEN: Oscillator System Clock Switch Enable bit
1
= Oscillator system clock switch option is disabled (main oscillator is source)
0
= Oscillator system clock switch option is enabled (oscillator switching is enabled)
bit 4-3
Unimplemented: Read as ‘0’
bit 2-0
FOSC2:FOSC0: Oscillator Selection bits
111
= RC oscillator w/OSC2 configured as RA6
110
= HS oscillator with PLL enabled/clock frequency = (4 x F
OSC
)
101
= EC oscillator w/OSC2 configured as RA6
100
= EC oscillator w/OSC2 configured as divide-by-4 clock output
011
= RC oscillator
010
= HS oscillator
001
= XT oscillator
000
= LP oscillator
Legend:
R = Readable bit
P = Programmable bit
U = Unimplemented bit, read as ‘0’
-n = Value when device is unprogrammed
u = Unchanged from programmed state
U-0
U-0
U-0
U-0
R/P-1
R/P-1
R/P-1
R/P-1
—
—
—
—
BORV1
BORV0
BOREN
PWRTEN
bit 7
bit 0
bit 7-4
Unimplemented: Read as ‘0’
bit 3-2
BORV1:BORV0: Brown-out Reset Voltage bits
11
= V
BOR
set to 2.0V
10
= V
BOR
set to 2.7V
01
= V
BOR
set to 4.2V
00
= V
BOR
set to 4.5V
bit 1
BOREN: Brown-out Reset Enable bit
1
= Brown-out Reset enabled
0
= Brown-out Reset disabled
bit 0
PWRTEN: Power-up Timer Enable bit
1
= PWRT disabled
0
= PWRT enabled
Legend:
R = Readable bit
P = Programmable bit
U = Unimplemented bit, read as ‘0’
-n = Value when device is unprogrammed
u = Unchanged from programmed state