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.
Initialisation and deinitialisation functions
[LPTIM Exported Functions]
Functions | |
ErrorStatus | LL_LPTIM_DeInit (LPTIM_TypeDef *LPTIMx) |
Set LPTIMx registers to their reset values. | |
void | LL_LPTIM_StructInit (LL_LPTIM_InitTypeDef *LPTIM_InitStruct) |
Set each fields of the LPTIM_InitStruct structure to its default value. | |
ErrorStatus | LL_LPTIM_Init (LPTIM_TypeDef *LPTIMx, LL_LPTIM_InitTypeDef *LPTIM_InitStruct) |
Configure the LPTIMx peripheral according to the specified parameters. |
Function Documentation
ErrorStatus LL_LPTIM_DeInit | ( | LPTIM_TypeDef * | LPTIMx ) |
Set LPTIMx registers to their reset values.
- Parameters:
-
LPTIMx LP Timer instance
- Return values:
-
An ErrorStatus enumeration value: - SUCCESS: LPTIMx registers are de-initialized
- ERROR: invalid LPTIMx instance
Definition at line 105 of file stm32l4xx_ll_lptim.c.
ErrorStatus LL_LPTIM_Init | ( | LPTIM_TypeDef * | LPTIMx, |
LL_LPTIM_InitTypeDef * | LPTIM_InitStruct | ||
) |
Configure the LPTIMx peripheral according to the specified parameters.
- Note:
- LL_LPTIM_Init can only be called when the LPTIM instance is disabled.
- LPTIMx can be disabled using unitary function LL_LPTIM_Disable().
- Parameters:
-
LPTIMx LP Timer Instance LPTIM_InitStruct pointer to a LL_LPTIM_InitTypeDef structure
- Return values:
-
An ErrorStatus enumeration value: - SUCCESS: LPTIMx instance has been initialized
- ERROR: LPTIMx instance hasn't been initialized
Definition at line 157 of file stm32l4xx_ll_lptim.c.
void LL_LPTIM_StructInit | ( | LL_LPTIM_InitTypeDef * | LPTIM_InitStruct ) |
Set each fields of the LPTIM_InitStruct structure to its default value.
- Parameters:
-
LPTIM_InitStruct pointer to a LL_LPTIM_InitTypeDef structure
- Return values:
-
None
Definition at line 138 of file stm32l4xx_ll_lptim.c.
Generated on Tue Jul 12 2022 18:10:48 by
