1.2 Included Header Files

The xc.h header file allows code in the source file to access compiler-specific or device-specific features. Based on your selected device, the compiler sets macros that allow xc.h to vector to the correct device-specific header file. Do not include a device-specific header in your code or your code will not be portable.

The stdint.h header file defines fixed-size integer types. For example, uint8_t is an unsigned 8-bit integer.

These and other header files can be found in the MPLAB XC8 installation directory in the pic/include subdirectory.