1 What is the I2C Peripheral Library (PLIB)?

The Inter-Integrated Circuit (I2C) module is a serial interface useful for communicating with other peripheral or microcontroller devices. These peripheral devices may be serial EEPROMs, shift registers, display drivers, Analog-to-Digital (A/D) converters, Temperature and Humidity sensors, and so on.

The I2C interface supports the following operating modes:

  • Host mode
  • Client mode

The driver operation can be configured as:

  • Polling
  • Interrupt