STM32L4xx_HAL_Driver  1.14.0
stm32l4xx_ll_pwr.c
Go to the documentation of this file.
1 
19 #if defined(USE_FULL_LL_DRIVER)
20 
21 /* Includes ------------------------------------------------------------------*/
22 #include "stm32l4xx_ll_pwr.h"
23 #include "stm32l4xx_ll_bus.h"
24 
29 #if defined(PWR)
30 
35 /* Private types -------------------------------------------------------------*/
36 /* Private variables ---------------------------------------------------------*/
37 /* Private constants ---------------------------------------------------------*/
38 /* Private macros ------------------------------------------------------------*/
39 /* Private function prototypes -----------------------------------------------*/
40 
41 /* Exported functions --------------------------------------------------------*/
56 ErrorStatus LL_PWR_DeInit(void)
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 }
66 
78 #endif /* defined(PWR) */
79 
83 #endif /* USE_FULL_LL_DRIVER */
84 
85 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
ErrorStatus LL_PWR_DeInit(void)
De-initialize the PWR registers to their default reset values.
__STATIC_INLINE void LL_APB1_GRP1_ReleaseReset(uint32_t Periphs)
Release APB1 peripherals reset. APB1RSTR1 TIM2RST LL_APB1_GRP1_ReleaseReset APB1RSTR1 TIM3RST LL_AP...
Header file of BUS LL module.
__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...
Header file of PWR LL module.