You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

87 lines
2.2 KiB

  1. /**
  2. ******************************************************************************
  3. * @file stm32wbxx_ll_crs.h
  4. * @author MCD Application Team
  5. * @brief CRS LL module driver.
  6. ******************************************************************************
  7. * @attention
  8. *
  9. * <h2><center>&copy; Copyright (c) 2019 STMicroelectronics.
  10. * All rights reserved.</center></h2>
  11. *
  12. * This software component is licensed by ST under BSD 3-Clause license,
  13. * the "License"; You may not use this file except in compliance with the
  14. * License. You may obtain a copy of the License at:
  15. * opensource.org/licenses/BSD-3-Clause
  16. *
  17. ******************************************************************************
  18. */
  19. #if defined(USE_FULL_LL_DRIVER)
  20. /* Includes ------------------------------------------------------------------*/
  21. #include "stm32wbxx_ll_crs.h"
  22. #include "stm32wbxx_ll_bus.h"
  23. /** @addtogroup STM32WBxx_LL_Driver
  24. * @{
  25. */
  26. #if defined(CRS)
  27. /** @defgroup CRS_LL CRS
  28. * @{
  29. */
  30. /* Private types -------------------------------------------------------------*/
  31. /* Private variables ---------------------------------------------------------*/
  32. /* Private constants ---------------------------------------------------------*/
  33. /* Private macros ------------------------------------------------------------*/
  34. /* Private function prototypes -----------------------------------------------*/
  35. /* Exported functions --------------------------------------------------------*/
  36. /** @addtogroup CRS_LL_Exported_Functions
  37. * @{
  38. */
  39. /** @addtogroup CRS_LL_EF_Init
  40. * @{
  41. */
  42. /**
  43. * @brief De-Initializes CRS peripheral registers to their default reset values.
  44. * @retval An ErrorStatus enumeration value:
  45. * - SUCCESS: CRS registers are de-initialized
  46. * - ERROR: not applicable
  47. */
  48. ErrorStatus LL_CRS_DeInit(void)
  49. {
  50. LL_APB1_GRP1_ForceReset(LL_APB1_GRP1_PERIPH_CRS);
  51. LL_APB1_GRP1_ReleaseReset(LL_APB1_GRP1_PERIPH_CRS);
  52. return SUCCESS;
  53. }
  54. /**
  55. * @}
  56. */
  57. /**
  58. * @}
  59. */
  60. /**
  61. * @}
  62. */
  63. #endif /* defined(CRS) */
  64. /**
  65. * @}
  66. */
  67. #endif /* USE_FULL_LL_DRIVER */
  68. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/