STM32L443xx HAL User Manual
Data Fields
LL_I2C_InitTypeDef Struct Reference

#include <stm32l4xx_ll_i2c.h>

Data Fields

uint32_t PeripheralMode
uint32_t Timing
uint32_t AnalogFilter
uint32_t DigitalFilter
uint32_t OwnAddress1
uint32_t TypeAcknowledge
uint32_t OwnAddrSize

Detailed Description

Definition at line 66 of file stm32l4xx_ll_i2c.h.


Field Documentation

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().

Definition at line 81 of file stm32l4xx_ll_i2c.h.

Referenced by LL_I2C_Init(), and LL_I2C_StructInit().

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().

Definition at line 87 of file stm32l4xx_ll_i2c.h.

Referenced by LL_I2C_Init(), and LL_I2C_StructInit().

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().

Definition at line 93 of file stm32l4xx_ll_i2c.h.

Referenced by LL_I2C_Init(), and LL_I2C_StructInit().

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().

Definition at line 106 of file stm32l4xx_ll_i2c.h.

Referenced by LL_I2C_Init(), and LL_I2C_StructInit().

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().

Definition at line 68 of file stm32l4xx_ll_i2c.h.

Referenced by LL_I2C_Init(), and LL_I2C_StructInit().

Specifies the SDA setup, hold time and the SCL high, low period values. This parameter must be set by referring to the STM32CubeMX Tool and the helper macro __LL_I2C_CONVERT_TIMINGS().

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

Definition at line 74 of file stm32l4xx_ll_i2c.h.

Referenced by LL_I2C_Init(), and LL_I2C_StructInit().

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().

Definition at line 99 of file stm32l4xx_ll_i2c.h.

Referenced by LL_I2C_Init(), and LL_I2C_StructInit().


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