EFM32 Wonder Gecko Software Documentation
efm32wg-doc-5.1.2
|
#include <em_i2c.h>
Data Fields | |
I2C_ClockHLR_TypeDef | clhr |
bool | enable |
uint32_t | freq |
bool | master |
uint32_t | refFreq |
I2C_ClockHLR_TypeDef I2C_Init_TypeDef::clhr |
Clock low/high ratio control.
Definition at line 223 of file em_i2c.h.
Referenced by I2C_Init(), and I2CSPM_Init().
bool I2C_Init_TypeDef::enable |
Enable I2C peripheral when init completed.
Definition at line 204 of file em_i2c.h.
Referenced by I2C_Init(), and I2CSPM_Init().
uint32_t I2C_Init_TypeDef::freq |
(Max) I2C bus frequency to use. This parameter is only applicable if operating in master mode.
Definition at line 220 of file em_i2c.h.
Referenced by I2C_Init(), and I2CSPM_Init().
bool I2C_Init_TypeDef::master |
Set to master (true) or slave (false) mode
Definition at line 207 of file em_i2c.h.
Referenced by I2C_Init(), and I2CSPM_Init().
uint32_t I2C_Init_TypeDef::refFreq |
I2C reference clock assumed when configuring bus frequency setup. Set it to 0 if currently configurated reference clock shall be used This parameter is only applicable if operating in master mode.
Definition at line 214 of file em_i2c.h.
Referenced by I2C_Init(), and I2CSPM_Init().