STM32F4xx_HAL_Driver  1.8.3
I2C Exported Init structure
+ Collaboration diagram for I2C Exported Init structure:

Data Structures

struct  LL_I2C_InitTypeDef
 

Detailed Description


Data Structure Documentation

◆ LL_I2C_InitTypeDef

struct LL_I2C_InitTypeDef

Definition at line 70 of file stm32f4xx_ll_i2c.h.

Data Fields
uint32_t AnalogFilter

Enables or disables analog noise filter. This parameter can be a value of Analog Filter Selection

This feature can be modified afterwards using unitary functions LL_I2C_EnableAnalogFilter() or LL_I2C_DisableAnalogFilter().

uint32_t ClockSpeed

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

This feature can be modified afterwards using unitary function LL_I2C_SetClockPeriod() or LL_I2C_SetDutyCycle() or LL_I2C_SetClockSpeedMode() or LL_I2C_ConfigSpeed().

uint32_t DigitalFilter

Configures the digital noise filter. This parameter can be a number between Min_Data = 0x00 and Max_Data = 0x0F

This feature can be modified afterwards using unitary function LL_I2C_SetDigitalFilter().

uint32_t DutyCycle

Specifies the I2C fast mode duty cycle. This parameter can be a value of Fast Mode Duty Cycle

This feature can be modified afterwards using unitary function LL_I2C_SetDutyCycle().

uint32_t OwnAddress1

Specifies the device own address 1. This parameter must be a value between Min_Data = 0x00 and Max_Data = 0x3FF

This feature can be modified afterwards using unitary function LL_I2C_SetOwnAddress1().

uint32_t OwnAddrSize

Specifies the device own address 1 size (7-bit or 10-bit). This parameter can be a value of Own Address 1 Length

This feature can be modified afterwards using unitary function LL_I2C_SetOwnAddress1().

uint32_t PeripheralMode

Specifies the peripheral mode. This parameter can be a value of Peripheral Mode

This feature can be modified afterwards using unitary function LL_I2C_SetMode().

uint32_t TypeAcknowledge

Specifies the ACKnowledge or Non ACKnowledge condition after the address receive match code or next received byte. This parameter can be a value of Acknowledge Generation

This feature can be modified afterwards using unitary function LL_I2C_AcknowledgeNextData().