训练营PLSR题目
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

82 lines
2.0 KiB

  1. /**
  2. ******************************************************************************
  3. * @file stm32f4xx_ll_pwr.c
  4. * @author MCD Application Team
  5. * @brief PWR LL module driver.
  6. ******************************************************************************
  7. * @attention
  8. *
  9. * Copyright (c) 2017 STMicroelectronics.
  10. * All rights reserved.
  11. *
  12. * This software is licensed under terms that can be found in the LICENSE file in
  13. * the root directory of this software component.
  14. * If no LICENSE file comes with this software, it is provided AS-IS.
  15. ******************************************************************************
  16. */
  17. #if defined(USE_FULL_LL_DRIVER)
  18. /* Includes ------------------------------------------------------------------*/
  19. #include "stm32f4xx_ll_pwr.h"
  20. #include "stm32f4xx_ll_bus.h"
  21. /** @addtogroup STM32F4xx_LL_Driver
  22. * @{
  23. */
  24. #if defined(PWR)
  25. /** @defgroup PWR_LL PWR
  26. * @{
  27. */
  28. /* Private types -------------------------------------------------------------*/
  29. /* Private variables ---------------------------------------------------------*/
  30. /* Private constants ---------------------------------------------------------*/
  31. /* Private macros ------------------------------------------------------------*/
  32. /* Private function prototypes -----------------------------------------------*/
  33. /* Exported functions --------------------------------------------------------*/
  34. /** @addtogroup PWR_LL_Exported_Functions
  35. * @{
  36. */
  37. /** @addtogroup PWR_LL_EF_Init
  38. * @{
  39. */
  40. /**
  41. * @brief De-initialize the PWR registers to their default reset values.
  42. * @retval An ErrorStatus enumeration value:
  43. * - SUCCESS: PWR registers are de-initialized
  44. * - ERROR: not applicable
  45. */
  46. ErrorStatus LL_PWR_DeInit(void)
  47. {
  48. /* Force reset of PWR clock */
  49. LL_APB1_GRP1_ForceReset(LL_APB1_GRP1_PERIPH_PWR);
  50. /* Release reset of PWR clock */
  51. LL_APB1_GRP1_ReleaseReset(LL_APB1_GRP1_PERIPH_PWR);
  52. return SUCCESS;
  53. }
  54. /**
  55. * @}
  56. */
  57. /**
  58. * @}
  59. */
  60. /**
  61. * @}
  62. */
  63. #endif /* defined(PWR) */
  64. /**
  65. * @}
  66. */
  67. #endif /* USE_FULL_LL_DRIVER */