4.9. MPLAB C18 Library Functions

C18 compiler provides a large set of library functions that can be used in our programs. These library functions can be called from anywhere in a program, and they require the correct header files to be included at the beginning of the program. C18 manual MPLAB C18 C Compiler Libraries by Microchip Inc. gives detailed description of each library function.

C18 library functions are given as in the following headings:

  • Hardware Peripheral Functions Library
  • Software Peripheral Functions Library
  • General Software Library
  • Math Library

Hardware Peripheral Functions Library consists of functions for the following peripherals:

  • Analog-to-Digital (A/D)
  • Input capture
  • Integrated Interconnect (I2C) bus
  • I/O port ...

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.