English
Language : 

PIC18FXX8 Datasheet, PDF (268/402 Pages) Microchip Technology – 28/40-Pin High-Performance, Enhanced Flash Microcontrollers with CAN Module
PIC18FXX8
REGISTER 24-1:
CONFIG1H: CONFIGURATION REGISTER 1 HIGH (BYTE ADDRESS 300001h)
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
bit 5
bit 4-3
bit 2-0
Unimplemented: Read as ‘0’
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)
Unimplemented: Read as ‘0’
FOSC2:FOSC0: Oscillator Selection bits
111 = RC oscillator w/OSC2 configured as RA6
110 = HS oscillator with PLL enabled/clock frequency = (4 x FOSC)
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
-n = Value when device is unprogrammed
U = Unimplemented bit, read as ‘0’
u = Unchanged from programmed state
REGISTER 24-2:
CONFIG2L: CONFIGURATION REGISTER 2 LOW (BYTE ADDRESS 300002h)
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
bit 3-2
bit 1
bit 0
Unimplemented: Read as ‘0’
BORV1:BORV0: Brown-out Reset Voltage bits
11 = VBOR set to 2.0V
10 = VBOR set to 2.7V
01 = VBOR set to 4.2V
00 = VBOR set to 4.5V
BOREN: Brown-out Reset Enable bit
1 = Brown-out Reset enabled
0 = Brown-out Reset disabled
PWRTEN: Power-up Timer Enable bit
1 = PWRT disabled
0 = PWRT enabled
Legend:
R = Readable bit
P = Programmable bit
-n = Value when device is unprogrammed
U = Unimplemented bit, read as ‘0’
u = Unchanged from programmed state
DS41159D-page 266
 2004 Microchip Technology Inc.