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.

sl_gpio_port_t

SCL pin port number.

uint8_t

SCL pin number.

sl_gpio_port_t

SDA pin port 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#

sl_gpio_port_t I2CSPM_Init_TypeDef::sclPort

SCL pin port number.


Definition at line 177 of file platform/driver/i2cspm/inc/sl_i2cspm.h

sclPin#

uint8_t I2CSPM_Init_TypeDef::sclPin

SCL pin number.


Definition at line 178 of file platform/driver/i2cspm/inc/sl_i2cspm.h

sdaPort#

sl_gpio_port_t I2CSPM_Init_TypeDef::sdaPort

SDA pin port number.


Definition at line 179 of file platform/driver/i2cspm/inc/sl_i2cspm.h

sdaPin#

uint8_t I2CSPM_Init_TypeDef::sdaPin

SDA pin number.


Definition at line 180 of file platform/driver/i2cspm/inc/sl_i2cspm.h

i2cRefFreq#

uint32_t I2CSPM_Init_TypeDef::i2cRefFreq

I2C reference clock.


Definition at line 181 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 182 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 183 of file platform/driver/i2cspm/inc/sl_i2cspm.h