1 What is the MSSP Peripheral Library?

The Host Synchronous Serial Port (MSSP) 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 MSSP module can operate in one of two modes:
  • Serial Peripheral Interface (SPI)
  • Inter-Integrated Circuit (I2C)

The SPI and I2C interface supports the following operating modes:

  • Host mode
  • Client mode

The driver operation can be configured as:

  • Polling
  • Interrupt