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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.