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