STM32F4xx_HAL_Driver  1.8.3
I2C Configuration Structure definition

I2C Configuration Structure definition. More...

+ Collaboration diagram for I2C Configuration Structure definition:

Data Structures

struct  I2C_InitTypeDef
 

Detailed Description

I2C Configuration Structure definition.


Data Structure Documentation

◆ I2C_InitTypeDef

struct I2C_InitTypeDef

Definition at line 47 of file stm32f4xx_hal_i2c.h.

Data Fields
uint32_t AddressingMode

Specifies if 7-bit or 10-bit addressing mode is selected. This parameter can be a value of I2C addressing mode

uint32_t ClockSpeed

Specifies the clock frequency. This parameter must be set to a value lower than 400kHz

uint32_t DualAddressMode

Specifies if dual addressing mode is selected. This parameter can be a value of I2C dual addressing mode

uint32_t DutyCycle

Specifies the I2C fast mode duty cycle. This parameter can be a value of I2C duty cycle in fast mode

uint32_t GeneralCallMode

Specifies if general call mode is selected. This parameter can be a value of I2C general call addressing mode

uint32_t NoStretchMode

Specifies if nostretch mode is selected. This parameter can be a value of I2C nostretch mode

uint32_t OwnAddress1

Specifies the first device own address. This parameter can be a 7-bit or 10-bit address.

uint32_t OwnAddress2

Specifies the second device own address if dual addressing mode is selected This parameter can be a 7-bit address.