Introduction
The Inter-Integrated Circuit (I2C) bus is a two-wire serial interface that is widely used for low-speed communication between chipsets in a system. Using I2C, a microcontroller can communicate with peripherals such as sensors, data converters, and I/O interfaces.
GR551x has two I2C module instances: I2C0 and I2C1, which can be configured as either Master or Slave.