Configuration Options for 18F2423
Oscillator Selection:
OSC = LP LP Oscillator
OSC = XT XT Oscillator
OSC = HS HS Oscillator
OSC = EC External Clock on OSC1, OSC2 as Fosc/4
OSC = ECIO6 EC oscillator, port function on RA6
OSC = HSPLL HS oscillator, PLL enabled (Clock Frequency = 4 x FOSC1)
OSC = RCIO6 External RC oscillator, port function on RA6
OSC = INTIO67 Internal oscillator block, port function on RA6 and RA7
OSC = INTIO7 Internal oscillator block, CLKO function on RA6, port function on RA7
Fail Safe Clock Monitor:
FSCM = OFF Fail Safe Clock Monitor disabled
FSCM = ON Fail Safe Clock Monitor enabled
Internal External Switch Over mode:
IESO = OFF Internal External Switch Over mode disabled
IESO = ON Internal External Switch Over mode enabled
Power-Up Timer:
PWRT = ON Enabled
PWRT = OFF Disabled
Brown-Out Reset:
BOREN = OFF Brown-out Reset disabled in hardware and software
BOREN = ON Brown-out Reset enabled and controlled by software (SBOREN is enabled)
BOREN = NOSLP Brown-out Reset enabled in hardware only and disabled in Sleep mode (SBOREN is disabled)
BOREN = SBORDIS Brown-out Reset enabled in hardware only (SBOREN is disabled)
Brown Out Voltage:
BORV = 0 Maximum setting
BORV = 1
BORV = 2
BORV = 3 Minimum setting
Watchdog Timer:
WDT = OFF Disabled
WDT = ON Enabled
Watchdog Postscaler:
WDTPS = 1 1:1
WDTPS = 2 1:2
WDTPS = 4 1:4
WDTPS = 8 1:8
WDTPS = 16 1:16
WDTPS = 32 1:32
WDTPS = 64 1:64
WDTPS = 128 1:128
WDTPS = 256 1:256
WDTPS = 512 1:512
WDTPS = 1024 1:1024
WDTPS = 2048 1:2048
WDTPS = 4096 1:4096
WDTPS = 8192 1:8192
WDTPS = 16384 1:16384
WDTPS = 32768 1:32768
MCLR Pin Enable bit:
MCLRE = OFF RE3 input pin enabled; MCLR disabled
MCLRE = ON MCLR pin enabled; RE3 input pin disabled
Low-Power Timer1 Oscillator Enable bit:
LPT1OSC = OFF Timer1 configured for higher power operation
LPT1OSC = ON Timer1 configured for low-power operation
PORTB A/D Enable bit:
PBADEN = OFF PORTB<4:0> pins are configured as digital I/O on Reset
PBADEN = ON PORTB<4:0> pins are configured as analog input channels on Reset
CCP2 MUX bit:
CCP2MX = PORTB CCP2 input/output is multiplexed with RB3
CCP2MX = PORTC CCP2 input/output is multiplexed with RC1
Stack Full/Underflow Reset Enable bit:
STVREN = OFF Stack full/underflow will not cause Reset
STVREN = ON Stack full/underflow will cause Reset
Low Voltage ICSP:
LVP = OFF Disabled
LVP = ON Enabled
Extended Instruction Set Enable bit:
XINST = OFF Instruction set extension and Indexed Addressing mode disabled (Legacy mode)
XINST = ON Instruction set extension and Indexed Addressing mode enabled
Background Debugger Enable bit:
DEBUG = ON Background debugger enabled, RB6 and RB7 are dedicated to In-Circuit Debug
DEBUG = OFF Background debugger disabled, RB6 and RB7 configured as general purpose I/O pins
Code Protection Block 0:
CP0 = ON Block 0 (000800-001FFFh) code-protected
CP0 = OFF Block 0 (000800-001FFFh) not code-protected
Code Protection Block 1:
CP1 = ON Block 1 (002000-003FFFh) code-protected
CP1 = OFF Block 1 (002000-003FFFh) not code-protected
Boot Block Code Protection bit:
CPB = ON Boot block (000000-0007FFh) code-protected
CPB = OFF Boot block (000000-0007FFh) not code-protected
Data EEPROM Code Protection:
CPD = ON Data EEPROM code-protected
CPD = OFF Data EEPROM not code-protected
Write Protection Block 0:
WRT0 = ON Block 0 (000800-001FFFh) write-protected
WRT0 = OFF Block 0 (000800-001FFFh) not write-protected
Write Protection Block 1:
WRT1 = ON Block 1 (002000-003FFFh) write-protected
WRT1 = OFF Block 1 (002000-003FFFh) not write-protected
Boot Block Write Protection bit:
WRTB = ON Boot block (000000-0007FFh) write-protected
WRTB = OFF Boot block (000000-0007FFh) not write-protected
Configuration Register Write Protection bit:
WRTC = ON Configuration registers (300000-3000FFh) write-protected
WRTC = OFF Configuration registers (300000-3000FFh) not write-protected
Data EEPROM Write Protection bit:
WRTD = ON Data EEPROM write-protected
WRTD = OFF Data EEPROM not write-protected
Table Read Protection Block 0:
EBTR0 = ON Block 0 (000800-001FFFh) protected from table reads executed in other blocks
EBTR0 = OFF Block 0 (000800-001FFFh) not protected from table reads executed in other blocks
Table Read Protection Block 1:
EBTR1 = ON Block 1 (002000-003FFFh) protected from table reads executed in other blocks
EBTR1 = OFF Block 1 (002000-003FFFh) not protected from table reads executed in other blocks
Boot Block Table Read Protection bit:
EBTRB = ON Boot block (000000-0007FFh) protected from table reads executed in other blocks
EBTRB = OFF Boot block (000000-0007FFh) not protected from table reads executed in other blocks