STM32F4xx_HAL_Driver  1.8.3
Initialization and de-initialization functions
+ Collaboration diagram for Initialization and de-initialization functions:

Functions

uint32_t LL_I2C_Init (I2C_TypeDef *I2Cx, LL_I2C_InitTypeDef *I2C_InitStruct)
 Initialize the I2C registers according to the specified parameters in I2C_InitStruct. More...
 
uint32_t LL_I2C_DeInit (I2C_TypeDef *I2Cx)
 De-initialize the I2C registers to their default reset values. More...
 
void LL_I2C_StructInit (LL_I2C_InitTypeDef *I2C_InitStruct)
 Set each LL_I2C_InitTypeDef field to default value. More...
 

Detailed Description

Function Documentation

◆ LL_I2C_DeInit()

uint32_t LL_I2C_DeInit ( I2C_TypeDef *  I2Cx)

De-initialize the I2C registers to their default reset values.

Parameters
I2CxI2C Instance.
Return values
AnErrorStatus enumeration value:
  • SUCCESS I2C registers are de-initialized
  • ERROR I2C registers are not de-initialized

Definition at line 94 of file stm32f4xx_ll_i2c.c.

◆ LL_I2C_Init()

uint32_t LL_I2C_Init ( I2C_TypeDef *  I2Cx,
LL_I2C_InitTypeDef I2C_InitStruct 
)

Initialize the I2C registers according to the specified parameters in I2C_InitStruct.

Parameters
I2CxI2C Instance.
I2C_InitStructpointer to a LL_I2C_InitTypeDef structure.
Return values
AnErrorStatus enumeration value:
  • SUCCESS I2C registers are initialized
  • ERROR Not applicable

Definition at line 144 of file stm32f4xx_ll_i2c.c.

◆ LL_I2C_StructInit()

void LL_I2C_StructInit ( LL_I2C_InitTypeDef I2C_InitStruct)

Set each LL_I2C_InitTypeDef field to default value.

Parameters
I2C_InitStructPointer to a LL_I2C_InitTypeDef structure.
Return values
None

Definition at line 217 of file stm32f4xx_ll_i2c.c.