|
STM32L443xx HAL User Manual
|
Functions | |
| ErrorStatus | LL_I2C_DeInit (I2C_TypeDef *I2Cx) |
| De-initialize the I2C registers to their default reset values. | |
| ErrorStatus | 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. | |
| ErrorStatus LL_I2C_DeInit | ( | I2C_TypeDef * | I2Cx | ) |
De-initialize the I2C registers to their default reset values.
| I2Cx | I2C Instance. |
| An | ErrorStatus enumeration value:
|
Definition at line 86 of file stm32l4xx_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, LL_APB1_GRP1_ReleaseReset(), LL_APB1_GRP2_ForceReset(), and LL_APB1_GRP2_ReleaseReset().
| ErrorStatus LL_I2C_Init | ( | I2C_TypeDef * | I2Cx, |
| LL_I2C_InitTypeDef * | I2C_InitStruct | ||
| ) |
Initialize the I2C registers according to the specified parameters in I2C_InitStruct.
| I2Cx | I2C Instance. |
| I2C_InitStruct | pointer to a LL_I2C_InitTypeDef structure. |
| An | ErrorStatus enumeration value:
|
Definition at line 146 of file stm32l4xx_ll_i2c.c.
References LL_I2C_InitTypeDef::AnalogFilter, assert_param, LL_I2C_InitTypeDef::DigitalFilter, IS_LL_I2C_ANALOG_FILTER, IS_LL_I2C_DIGITAL_FILTER, IS_LL_I2C_OWN_ADDRESS1, IS_LL_I2C_OWN_ADDRSIZE, IS_LL_I2C_PERIPHERAL_MODE, IS_LL_I2C_TYPE_ACKNOWLEDGE, LL_I2C_AcknowledgeNextData(), LL_I2C_ConfigFilters(), LL_I2C_Disable(), LL_I2C_DisableOwnAddress1(), LL_I2C_Enable(), LL_I2C_EnableOwnAddress1(), LL_I2C_SetMode(), LL_I2C_SetOwnAddress1(), LL_I2C_SetTiming(), LL_I2C_InitTypeDef::OwnAddress1, LL_I2C_InitTypeDef::OwnAddrSize, LL_I2C_InitTypeDef::PeripheralMode, LL_I2C_InitTypeDef::Timing, and LL_I2C_InitTypeDef::TypeAcknowledge.
| void LL_I2C_StructInit | ( | LL_I2C_InitTypeDef * | I2C_InitStruct | ) |
Set each LL_I2C_InitTypeDef field to default value.
| I2C_InitStruct | Pointer to a LL_I2C_InitTypeDef structure. |
| None |
Definition at line 214 of file stm32l4xx_ll_i2c.c.
References LL_I2C_InitTypeDef::AnalogFilter, LL_I2C_InitTypeDef::DigitalFilter, LL_I2C_ANALOGFILTER_ENABLE, LL_I2C_MODE_I2C, LL_I2C_NACK, LL_I2C_OWNADDRESS1_7BIT, LL_I2C_InitTypeDef::OwnAddress1, LL_I2C_InitTypeDef::OwnAddrSize, LL_I2C_InitTypeDef::PeripheralMode, LL_I2C_InitTypeDef::Timing, and LL_I2C_InitTypeDef::TypeAcknowledge.
1.7.6.1