STM32F439xx HAL User Manual
Data Fields
I2C_InitTypeDef Struct Reference

I2C Configuration Structure definition. More...

#include <stm32f4xx_hal_i2c.h>

Data Fields

uint32_t ClockSpeed
uint32_t DutyCycle
uint32_t OwnAddress1
uint32_t AddressingMode
uint32_t DualAddressMode
uint32_t OwnAddress2
uint32_t GeneralCallMode
uint32_t NoStretchMode

Detailed Description

I2C Configuration Structure definition.

Definition at line 63 of file stm32f4xx_hal_i2c.h.


Field Documentation

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

Definition at line 74 of file stm32f4xx_hal_i2c.h.

Referenced by HAL_I2C_Init(), HAL_I2C_Slave_Transmit(), I2C_Master_ADDR(), I2C_Master_SB(), I2C_MasterRequestRead(), and I2C_MasterRequestWrite().

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

Definition at line 65 of file stm32f4xx_hal_i2c.h.

Referenced by HAL_I2C_Init().

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

Definition at line 77 of file stm32f4xx_hal_i2c.h.

Referenced by HAL_I2C_Init().

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

Definition at line 68 of file stm32f4xx_hal_i2c.h.

Referenced by HAL_I2C_Init().

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

Definition at line 83 of file stm32f4xx_hal_i2c.h.

Referenced by HAL_I2C_Init().

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

Definition at line 86 of file stm32f4xx_hal_i2c.h.

Referenced by HAL_I2C_Init().

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

Definition at line 71 of file stm32f4xx_hal_i2c.h.

Referenced by HAL_I2C_Init(), and I2C_Slave_ADDR().

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

Definition at line 80 of file stm32f4xx_hal_i2c.h.

Referenced by HAL_I2C_Init(), and I2C_Slave_ADDR().


The documentation for this struct was generated from the following file: