Accessing XC8 Configuration Bits Examples

To configure the device using MPLAB X Integrated Development Environment (IDE), the user must use configuration pragmas. More information about the compiler and the configuration bits of the desired device can be found by accessing the Compiler Help, the blue question mark from the MPLAB X IDE project dashboard, as presented in the figure below.

Figure 1. Accessing Compiler Help

Example configurations can be found for specific devices under the Configuration Settings Reference section. An example for the PIC16F18446 is shown below.

Figure 2. PIC16F18446 Example Configuration