2.1.3. The Configuration Registers

The PIC18F452 microcontrollers have a set of configuration registers (PIC16 series had only one configuration register). Configuration registers are programmed during the programming of the flash program memory by the programming device. These registers are shown in Table 2.2. The descriptions of these registers are given in Table 2.3. Some of the important configuration registers are described in this section in detail.

Table 2.2. PIC18F452 Configuration Registers
File Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Default/Unprogrammed Value
300001h CONFIG1H

FOSC2 FOSC1 FOSC0 --1- -111
300002h ...

Get SD Card Projects Using the PIC Microcontroller now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.