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