
PIC18F2XK20/4XK20
DS41297F-page 30
Advance Information
2009 Microchip Technology Inc.
TABLE 5-3:
PIC18F2XK20/4XK20 BIT DESCRIPTIONS
Bit Name
Configuration
Words
Description
IESO
CONFIG1H
Internal External Switchover bit
1
= Internal External Switchover mode enabled
0
= Internal External Switchover mode disabled
FCMEN
CONFIG1H
Fail-Safe Clock Monitor Enable bit
1
= Fail-Safe Clock Monitor enabled
0
= Fail-Safe Clock Monitor disabled
FOSC<3:0>
CONFIG1H
Oscillator Selection bits
11xx
= External RC oscillator, CLKOUT function on RA6
101x
= External RC oscillator, CLKOUT function on RA6
1001
= HFINTOSC, CLKOUT function on RA6, port function on RA7
1000
= HFINTOSC, port function on RA6, port function on RA7
0111
= External RC oscillator, port function on RA6
0110
= HS oscillator, PLL enabled (clock frequency = 4 x FOSC1)
0101
= EC oscillator, port function on RA6
0100
= EC oscillator, CLKOUT function on RA6
0011
= External RC oscillator, CLKOUT function on RA6
0010
= HS oscillator
0001
= XT oscillator
0000
= LP oscillator
BORV<1:0>
CONFIG2L
Brown-out Reset Voltage bits
11
=VBOR set to 1.8V
10
=VBOR set to 2.2V
01
=VBOR set to 2.7V
00
=VBOR set to 3.0V
BOREN<1:0>
CONFIG2L
Brown-out Reset Enable bits
11
= Brown-out Reset enabled in hardware only (SBOREN is disabled)
10
= Brown-out Reset enabled in hardware only and disabled in Sleep mode
(SBOREN is disabled)
01
= Brown-out Reset enabled and controlled by software (SBOREN is enabled)
00
= Brown-out Reset disabled in hardware and software
PWRTEN
CONFIG2L
Power-up Timer Enable bit
1
= PWRT disabled
0
= PWRT enabled
WDPS<3:0>
CONFIG2H
Watchdog Timer Postscaler Select bits
1111
= 1:32,768
1110
= 1:16,384
1101
= 1:8,192
1100
= 1:4,096
1011
= 1:2,048
1010
= 1:1,024
1001
= 1:512
1000
= 1:256
0111
= 1:128
0110
= 1:64
0101
= 1:32
0100
= 1:16
0011
= 1:8
0010
= 1:4
0001
= 1:2
0000
= 1:1
.