STM32H735xx HAL User Manual
|
00001 /** 00002 ****************************************************************************** 00003 * @file stm32h7xx_ll_crs.h 00004 * @author MCD Application Team 00005 * @brief CRS LL module driver. 00006 ****************************************************************************** 00007 * @attention 00008 * 00009 * Copyright (c) 2017 STMicroelectronics. 00010 * All rights reserved. 00011 * 00012 * This software is licensed under terms that can be found in the LICENSE file 00013 * in the root directory of this software component. 00014 * If no LICENSE file comes with this software, it is provided AS-IS. 00015 * 00016 ****************************************************************************** 00017 */ 00018 #if defined(USE_FULL_LL_DRIVER) 00019 00020 /* Includes ------------------------------------------------------------------*/ 00021 #include "stm32h7xx_ll_crs.h" 00022 #include "stm32h7xx_ll_bus.h" 00023 00024 /** @addtogroup STM32H7xx_LL_Driver 00025 * @{ 00026 */ 00027 00028 #if defined(CRS) 00029 00030 /** @defgroup CRS_LL CRS 00031 * @{ 00032 */ 00033 00034 /* Private types -------------------------------------------------------------*/ 00035 /* Private variables ---------------------------------------------------------*/ 00036 /* Private constants ---------------------------------------------------------*/ 00037 /* Private macros ------------------------------------------------------------*/ 00038 /* Private function prototypes -----------------------------------------------*/ 00039 00040 /* Exported functions --------------------------------------------------------*/ 00041 /** @addtogroup CRS_LL_Exported_Functions 00042 * @{ 00043 */ 00044 00045 /** @addtogroup CRS_LL_EF_Init 00046 * @{ 00047 */ 00048 00049 /** 00050 * @brief De-Initializes CRS peripheral registers to their default reset values. 00051 * @retval An ErrorStatus enumeration value: 00052 * - SUCCESS: CRS registers are de-initialized 00053 * - ERROR: not applicable 00054 */ 00055 ErrorStatus LL_CRS_DeInit(void) 00056 { 00057 LL_APB1_GRP2_ForceReset(LL_APB1_GRP2_PERIPH_CRS); 00058 LL_APB1_GRP2_ReleaseReset(LL_APB1_GRP2_PERIPH_CRS); 00059 00060 return SUCCESS; 00061 } 00062 00063 00064 00065 /** 00066 * @} 00067 */ 00068 00069 /** 00070 * @} 00071 */ 00072 00073 /** 00074 * @} 00075 */ 00076 00077 #endif /* defined(CRS) */ 00078 00079 /** 00080 * @} 00081 */ 00082 00083 #endif /* USE_FULL_LL_DRIVER */