xref: /btstack/port/stm32-l451-miromico-sx1280/Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_crs.c (revision 2fd737d36a1de5d778cacc671d4b4d8c4f3fed82)
1 /**
2   ******************************************************************************
3   * @file    stm32l4xx_ll_crs.h
4   * @author  MCD Application Team
5   * @brief   CRS LL module driver.
6   ******************************************************************************
7   * @attention
8   *
9   * <h2><center>&copy; Copyright (c) 2017 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 
21 /* Includes ------------------------------------------------------------------*/
22 #include "stm32l4xx_ll_crs.h"
23 #include "stm32l4xx_ll_bus.h"
24 
25 /** @addtogroup STM32L4xx_LL_Driver
26   * @{
27   */
28 
29 #if defined(CRS)
30 
31 /** @defgroup CRS_LL CRS
32   * @{
33   */
34 
35 /* Private types -------------------------------------------------------------*/
36 /* Private variables ---------------------------------------------------------*/
37 /* Private constants ---------------------------------------------------------*/
38 /* Private macros ------------------------------------------------------------*/
39 /* Private function prototypes -----------------------------------------------*/
40 
41 /* Exported functions --------------------------------------------------------*/
42 /** @addtogroup CRS_LL_Exported_Functions
43   * @{
44   */
45 
46 /** @addtogroup CRS_LL_EF_Init
47   * @{
48   */
49 
50 /**
51   * @brief  De-Initializes CRS peripheral registers to their default reset values.
52   * @retval An ErrorStatus enumeration value:
53   *          - SUCCESS: CRS registers are de-initialized
54   *          - ERROR: not applicable
55   */
LL_CRS_DeInit(void)56 ErrorStatus LL_CRS_DeInit(void)
57 {
58   LL_APB1_GRP1_ForceReset(LL_APB1_GRP1_PERIPH_CRS);
59   LL_APB1_GRP1_ReleaseReset(LL_APB1_GRP1_PERIPH_CRS);
60 
61   return  SUCCESS;
62 }
63 
64 
65 
66 /**
67   * @}
68   */
69 
70 /**
71   * @}
72   */
73 
74 /**
75   * @}
76   */
77 
78 #endif /* defined(CRS) */
79 
80 /**
81   * @}
82   */
83 
84 #endif /* USE_FULL_LL_DRIVER */
85 
86 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
87