4.7.8 Header Files
Keywords: sdccman

##
4.7.8 Header Files

There is one main header file that can be included to the source files using the pic16 port. That file is the pic18fregs.h. This header file contains the definitions for the processor special registers, so it is necessary if the source accesses them. It can be included by adding the following line in the beginning of the file:

  #include <pic18fregs.h>

The specific microcontroller is selected within the pic18fregs.h automatically, so the same source can be used with a variety of devices.