Core2 for AWS IoT EduKit BSP 1.5.1
I2CDevice_t
typedef void * I2CDevice_t;
void * I2CDevice_t
A pointer to the I2C peripheral configuration.
Definition: i2c_device.h:41

A pointer to the I2C peripheral configuration.

Contains configuration related to the peripheral in the following structure:

  • addr (device address)
  • i2c_port
    • port (I2C port number — 0 or 1)
    • sda (I2C port's SDA pin)
    • scl (I2C port's SCL pin)
    • freq (I2C port frequency)