STM32F439xx HAL User Manual
Functions
Initialization and de-initialization functions
I2C Exported Functions

Functions

uint32_t LL_I2C_DeInit (I2C_TypeDef *I2Cx)
 De-initialize the I2C registers to their default reset values.
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.
void LL_I2C_StructInit (LL_I2C_InitTypeDef *I2C_InitStruct)
 Set each LL_I2C_InitTypeDef field to default value.

Function Documentation

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 111 of file stm32f4xx_ll_i2c.c.

References assert_param, LL_APB1_GRP1_ForceReset(), LL_APB1_GRP1_PERIPH_I2C1, LL_APB1_GRP1_PERIPH_I2C2, LL_APB1_GRP1_PERIPH_I2C3, and LL_APB1_GRP1_ReleaseReset().

uint32_t LL_I2C_Init ( I2C_TypeDef *  I2Cx,
LL_I2C_InitTypeDef I2C_InitStruct 
)
void LL_I2C_StructInit ( LL_I2C_InitTypeDef I2C_InitStruct)