STM32F4xx_HAL_Driver  1.8.3
Initialisation and deinitialisation functions
+ Collaboration diagram for Initialisation and deinitialisation functions:

Functions

ErrorStatus LL_LPTIM_DeInit (const LPTIM_TypeDef *LPTIMx)
 Set LPTIMx registers to their reset values. More...
 
void LL_LPTIM_StructInit (LL_LPTIM_InitTypeDef *LPTIM_InitStruct)
 Set each fields of the LPTIM_InitStruct structure to its default value. More...
 
ErrorStatus LL_LPTIM_Init (LPTIM_TypeDef *LPTIMx, const LL_LPTIM_InitTypeDef *LPTIM_InitStruct)
 Configure the LPTIMx peripheral according to the specified parameters. More...
 
void LL_LPTIM_Disable (LPTIM_TypeDef *LPTIMx)
 Disable the LPTIM instance @rmtoll CR ENABLE LL_LPTIM_Disable. More...
 

Detailed Description

Legacy definitions for compatibility purpose

Function Documentation

◆ LL_LPTIM_DeInit()

ErrorStatus LL_LPTIM_DeInit ( const LPTIM_TypeDef *  LPTIMx)

Set LPTIMx registers to their reset values.

Parameters
LPTIMxLP Timer instance
Return values
AnErrorStatus enumeration value:
  • SUCCESS: LPTIMx registers are de-initialized
  • ERROR: invalid LPTIMx instance

Definition at line 95 of file stm32f4xx_ll_lptim.c.

◆ LL_LPTIM_Disable()

void LL_LPTIM_Disable ( LPTIM_TypeDef *  LPTIMx)

Disable the LPTIM instance @rmtoll CR ENABLE LL_LPTIM_Disable.

Parameters
LPTIMxLow-Power Timer instance
Note
The following sequence is required to solve LPTIM disable HW limitation. Please check Errata Sheet ES0335 for more details under "MCU may remain stuck in LPTIM interrupt when entering Stop mode" section.
Return values
None

Definition at line 183 of file stm32f4xx_ll_lptim.c.

◆ LL_LPTIM_Init()

ErrorStatus LL_LPTIM_Init ( LPTIM_TypeDef *  LPTIMx,
const 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
LPTIMxLP Timer Instance
LPTIM_InitStructpointer to a LL_LPTIM_InitTypeDef structure
Return values
AnErrorStatus enumeration value:
  • SUCCESS: LPTIMx instance has been initialized
  • ERROR: LPTIMx instance hasn't been initialized

Definition at line 140 of file stm32f4xx_ll_lptim.c.

◆ LL_LPTIM_StructInit()

void LL_LPTIM_StructInit ( LL_LPTIM_InitTypeDef LPTIM_InitStruct)

Set each fields of the LPTIM_InitStruct structure to its default value.

Parameters
LPTIM_InitStructpointer to a LL_LPTIM_InitTypeDef structure
Return values
None

Definition at line 121 of file stm32f4xx_ll_lptim.c.