Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TUKS-COURSE-TIMER by
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:
-
I2Cx I2C Instance.
- Return values:
-
An ErrorStatus enumeration value: - SUCCESS: I2C registers are de-initialized
- ERROR: I2C registers are not de-initialized
Definition at line 105 of file stm32l4xx_ll_i2c.c.
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:
-
I2Cx I2C Instance. I2C_InitStruct pointer to a LL_I2C_InitTypeDef structure.
- Return values:
-
An ErrorStatus enumeration value: - SUCCESS: I2C registers are initialized
- ERROR: Not applicable
Definition at line 155 of file stm32l4xx_ll_i2c.c.
void LL_I2C_StructInit | ( | LL_I2C_InitTypeDef * | I2C_InitStruct ) |
Set each LL_I2C_InitTypeDef field to default value.
- Parameters:
-
I2C_InitStruct Pointer to a LL_I2C_InitTypeDef structure.
- Return values:
-
None
Definition at line 218 of file stm32l4xx_ll_i2c.c.
Generated on Tue Jul 12 2022 17:38:57 by
