STM32F4xx_HAL_Driver  1.8.3
stm32f4xx_ll_pwr.c
Go to the documentation of this file.
1 
17 #if defined(USE_FULL_LL_DRIVER)
18 
19 /* Includes ------------------------------------------------------------------*/
20 #include "stm32f4xx_ll_pwr.h"
21 #include "stm32f4xx_ll_bus.h"
22 
27 #if defined(PWR)
28 
33 /* Private types -------------------------------------------------------------*/
34 /* Private variables ---------------------------------------------------------*/
35 /* Private constants ---------------------------------------------------------*/
36 /* Private macros ------------------------------------------------------------*/
37 /* Private function prototypes -----------------------------------------------*/
38 
39 /* Exported functions --------------------------------------------------------*/
54 ErrorStatus LL_PWR_DeInit(void)
55 {
56  /* Force reset of PWR clock */
57  LL_APB1_GRP1_ForceReset(LL_APB1_GRP1_PERIPH_PWR);
58 
59  /* Release reset of PWR clock */
60  LL_APB1_GRP1_ReleaseReset(LL_APB1_GRP1_PERIPH_PWR);
61 
62  return SUCCESS;
63 }
64 
76 #endif /* defined(PWR) */
81 #endif /* USE_FULL_LL_DRIVER */
__STATIC_INLINE void LL_APB1_GRP1_ForceReset(uint32_t Periphs)
Force APB1 peripherals reset. @rmtoll APB1RSTR TIM2RST LL_APB1_GRP1_ForceReset APB1RSTR TIM3RST LL_A...
__STATIC_INLINE void LL_APB1_GRP1_ReleaseReset(uint32_t Periphs)
Release APB1 peripherals reset. @rmtoll APB1RSTR TIM2RST LL_APB1_GRP1_ReleaseReset APB1RSTR TIM3RST ...
ErrorStatus LL_PWR_DeInit(void)
De-initialize the PWR registers to their default reset values.
Header file of BUS LL module.
Header file of PWR LL module.