I2C driver instance initialization structure.
This data structure contains a number of I2C configuration options required for driver instance initialization.This struct is passed to I2CSPM_Init() when initializing a I2CSPM instance.
Public Attributes#
I2C_TypeDef *
Peripheral port.
GPIO_Port_TypeDef
SCL pin port number.
GPIO_Port_TypeDef
SDA pin port number.
uint8_t
SCL pin number.
uint8_t
SDA pin number.
uint32_t
I2C reference clock.
uint32_t
I2C max bus frequency to use.
I2C_ClockHLR_TypeDef
Clock low/high ratio control.
Public Attribute Documentation#
port#
I2C_TypeDef* I2CSPM_Init_TypeDef::port
Peripheral port.
Definition at line
176
of file platform/driver/i2cspm/inc/sl_i2cspm.h
sclPort#
GPIO_Port_TypeDef I2CSPM_Init_TypeDef::sclPort
SCL pin port number.
Definition at line
181
of file platform/driver/i2cspm/inc/sl_i2cspm.h
sdaPort#
GPIO_Port_TypeDef I2CSPM_Init_TypeDef::sdaPort
SDA pin port number.
Definition at line
182
of file platform/driver/i2cspm/inc/sl_i2cspm.h
sclPin#
uint8_t I2CSPM_Init_TypeDef::sclPin
SCL pin number.
Definition at line
184
of file platform/driver/i2cspm/inc/sl_i2cspm.h
sdaPin#
uint8_t I2CSPM_Init_TypeDef::sdaPin
SDA pin number.
Definition at line
185
of file platform/driver/i2cspm/inc/sl_i2cspm.h
i2cRefFreq#
uint32_t I2CSPM_Init_TypeDef::i2cRefFreq
I2C reference clock.
Definition at line
186
of file platform/driver/i2cspm/inc/sl_i2cspm.h
i2cMaxFreq#
uint32_t I2CSPM_Init_TypeDef::i2cMaxFreq
I2C max bus frequency to use.
Definition at line
187
of file platform/driver/i2cspm/inc/sl_i2cspm.h
i2cClhr#
I2C_ClockHLR_TypeDef I2CSPM_Init_TypeDef::i2cClhr
Clock low/high ratio control.
Definition at line
188
of file platform/driver/i2cspm/inc/sl_i2cspm.h