Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:23:09

0001 /**
0002   ******************************************************************************
0003   * @file    stm32h7xx_ll_crs.h
0004   * @author  MCD Application Team
0005   * @brief   CRS LL module driver.
0006   ******************************************************************************
0007   * @attention
0008   *
0009   * Copyright (c) 2017 STMicroelectronics.
0010   * All rights reserved.
0011   *
0012   * This software is licensed under terms that can be found in the LICENSE file
0013   * in the root directory of this software component.
0014   * If no LICENSE file comes with this software, it is provided AS-IS.
0015   *
0016   ******************************************************************************
0017   */
0018 #if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
0019 
0020 /* Includes ------------------------------------------------------------------*/
0021 #include "stm32h7xx_ll_crs.h"
0022 #include "stm32h7xx_ll_bus.h"
0023 
0024 /** @addtogroup STM32H7xx_LL_Driver
0025   * @{
0026   */
0027 
0028 #if defined(CRS)
0029 
0030 /** @defgroup CRS_LL CRS
0031   * @ingroup RTEMSBSPsARMSTM32H7
0032   * @{
0033   */
0034 
0035 /* Private types -------------------------------------------------------------*/
0036 /* Private variables ---------------------------------------------------------*/
0037 /* Private constants ---------------------------------------------------------*/
0038 /* Private macros ------------------------------------------------------------*/
0039 /* Private function prototypes -----------------------------------------------*/
0040 
0041 /* Exported functions --------------------------------------------------------*/
0042 /** @addtogroup CRS_LL_Exported_Functions
0043   * @{
0044   */
0045 
0046 /** @addtogroup CRS_LL_EF_Init
0047   * @{
0048   */
0049 
0050 /**
0051   * @brief  De-Initializes CRS peripheral registers to their default reset values.
0052   * @retval An ErrorStatus enumeration value:
0053   *          - SUCCESS: CRS registers are de-initialized
0054   *          - ERROR: not applicable
0055   */
0056 ErrorStatus LL_CRS_DeInit(void)
0057 {
0058   LL_APB1_GRP2_ForceReset(LL_APB1_GRP2_PERIPH_CRS);
0059   LL_APB1_GRP2_ReleaseReset(LL_APB1_GRP2_PERIPH_CRS);
0060 
0061   return  SUCCESS;
0062 }
0063 
0064 
0065 
0066 /**
0067   * @}
0068   */
0069 
0070 /**
0071   * @}
0072   */
0073 
0074 /**
0075   * @}
0076   */
0077 
0078 #endif /* defined(CRS) */
0079 
0080 /**
0081   * @}
0082   */
0083   
0084 #endif /* USE_FULL_LL_DRIVER */