I2CSPM_Init_TypeDef Struct Reference
I2C driver instance initialization structure.
#include <sl_i2cspm.h>
Data Fields |
|
| I2C_TypeDef * | port |
|
Peripheral port.
|
|
| GPIO_Port_TypeDef | sclPort |
|
SCL pin port number.
|
|
| uint8_t | sclPin |
|
SCL pin number.
|
|
| GPIO_Port_TypeDef | sdaPort |
|
SDA pin port number.
|
|
| uint8_t | sdaPin |
|
SDA pin number.
|
|
| uint32_t | i2cRefFreq |
|
I2C reference clock.
|
|
| uint32_t | i2cMaxFreq |
|
I2C max bus frequency to use.
|
|
| I2C_ClockHLR_TypeDef | i2cClhr |
|
Clock low/high ratio control.
|
|
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.
Field Documentation
◆ port
| I2C_TypeDef* I2CSPM_Init_TypeDef::port |
Peripheral port.
◆ sclPort
| GPIO_Port_TypeDef I2CSPM_Init_TypeDef::sclPort |
SCL pin port number.
◆ sclPin
| uint8_t I2CSPM_Init_TypeDef::sclPin |
SCL pin number.
◆ sdaPort
| GPIO_Port_TypeDef I2CSPM_Init_TypeDef::sdaPort |
SDA pin port number.
◆ sdaPin
| uint8_t I2CSPM_Init_TypeDef::sdaPin |
SDA pin number.
◆ i2cRefFreq
| uint32_t I2CSPM_Init_TypeDef::i2cRefFreq |
I2C reference clock.
◆ i2cMaxFreq
| uint32_t I2CSPM_Init_TypeDef::i2cMaxFreq |
I2C max bus frequency to use.
◆ i2cClhr
| I2C_ClockHLR_TypeDef I2CSPM_Init_TypeDef::i2cClhr |
Clock low/high ratio control.