EFM32 Pearl Gecko 12 Software Documentation
efm32pg12-doc-5.1.2
|
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.
#include <i2cspm.h>
Data Fields | |
I2C_ClockHLR_TypeDef | i2cClhr |
uint32_t | i2cMaxFreq |
uint32_t | i2cRefFreq |
I2C_TypeDef * | port |
uint8_t | portLocationScl |
uint8_t | portLocationSda |
uint8_t | sclPin |
GPIO_Port_TypeDef | sclPort |
uint8_t | sdaPin |
GPIO_Port_TypeDef | sdaPort |
I2C_ClockHLR_TypeDef I2CSPM_Init_TypeDef::i2cClhr |
uint32_t I2CSPM_Init_TypeDef::i2cMaxFreq |
uint32_t I2CSPM_Init_TypeDef::i2cRefFreq |
I2C_TypeDef* I2CSPM_Init_TypeDef::port |
Peripheral port
Definition at line 53 of file i2cspm.h.
Referenced by BOARD_init(), and I2CSPM_Init().
uint8_t I2CSPM_Init_TypeDef::portLocationScl |
uint8_t I2CSPM_Init_TypeDef::portLocationSda |
uint8_t I2CSPM_Init_TypeDef::sclPin |
GPIO_Port_TypeDef I2CSPM_Init_TypeDef::sclPort |
uint8_t I2CSPM_Init_TypeDef::sdaPin |
GPIO_Port_TypeDef I2CSPM_Init_TypeDef::sdaPort |