PIC18F252 configuration bits

The configuration words set the oscillator, the watchdog, the power-up timer, brown-out reset, low-voltage programming and code protection. Pick a setting and the word below updates; the starting values are the defaults in Microchip's device file. In XC8 each setting is a #pragma config NAME = SETTING line.

CONFIG1H · 0x300001

0x27default 0x27

CONFIG2L · 0x300002

0x0Fdefault 0x0F

CONFIG2H · 0x300003

0x0Fdefault 0x0F

CONFIG3H · 0x300005

0x01default 0x01

CONFIG4L · 0x300006

0x85default 0x85

CONFIG5L · 0x300008

0x0Fdefault 0x0F

CONFIG5H · 0x300009

0xC0default 0xC0

CONFIG6L · 0x30000A

0x0Fdefault 0x0F

CONFIG6H · 0x30000B

0xE0default 0xE0

CONFIG7L · 0x30000C

0x0Fdefault 0x0F

CONFIG7H · 0x30000D

0x40default 0x40