Initialization parameters for an I2C Driver instance.
This structure is passed to sl_i2c_init() during initialization of an I2C instance.
Note
Usage of
follower_addressdepends on the operating mode: Leader Mode : Used to specify the address of the follower device. Follower Mode : Used to set the I2C device's own (self) address.
Public Attributes#
sl_peripheral_t
I2C Peripheral Instance.
sl_i2c_operating_mode_t
Operating mode: Leader or Follower.
I2C Speed mode (Standard, Fast, etc.)
sl_gpio_t
SCL GPIO Port and Pin (Serial Clock Line)
sl_gpio_t
SDA GPIO Port and Pin (Serial Data Line)