STM32L4xx_HAL_Driver  1.14.0
De-initialization function

Functions

ErrorStatus LL_PWR_DeInit (void)
 De-initialize the PWR registers to their default reset values. More...
 

Detailed Description

Function Documentation

◆ LL_PWR_DeInit()

ErrorStatus LL_PWR_DeInit ( void  )

De-initialize the PWR registers to their default reset values.

Return values
AnErrorStatus enumeration value:
  • SUCCESS: PWR registers are de-initialized
  • ERROR: not applicable

Definition at line 56 of file stm32l4xx_ll_pwr.c.

57 {
58  /* Force reset of PWR clock */
59  LL_APB1_GRP1_ForceReset(LL_APB1_GRP1_PERIPH_PWR);
60 
61  /* Release reset of PWR clock */
62  LL_APB1_GRP1_ReleaseReset(LL_APB1_GRP1_PERIPH_PWR);
63 
64  return SUCCESS;
65 }
__STATIC_INLINE void LL_APB1_GRP1_ReleaseReset(uint32_t Periphs)
Release APB1 peripherals reset. APB1RSTR1 TIM2RST LL_APB1_GRP1_ReleaseReset APB1RSTR1 TIM3RST LL_AP...
__STATIC_INLINE void LL_APB1_GRP1_ForceReset(uint32_t Periphs)
Force APB1 peripherals reset. APB1RSTR1 TIM2RST LL_APB1_GRP1_ForceReset APB1RSTR1 TIM3RST LL_APB1_G...