1 /**
2   ******************************************************************************
3   * @file    stm32mp1xx_ll_delayblock.h
4   * @author  MCD Application Team
5   * @brief   Header file of Delay Block module.
6   ******************************************************************************
7   * @attention
8   *
9   * <h2><center>&copy; Copyright (c) 2019 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 /* Define to prevent recursive inclusion -------------------------------------*/
21 #ifndef __STM32MP1xx_LL_DLYB_H
22 #define __STM32MP1xx_LL_DLYB_H
23 
24 #ifdef __cplusplus
25  extern "C" {
26 #endif
27 
28 /* Includes ------------------------------------------------------------------*/
29 #include "stm32mp1xx_hal_def.h"
30 
31 /** @addtogroup STM32MP1xx_HAL_Driver
32   * @{
33   */
34 
35 /** @addtogroup DELAYBLOCK_LL
36   * @{
37   */
38 
39 /* Exported types ------------------------------------------------------------*/
40 /** @defgroup DELAYBLOCK_LL_Exported_Types DELAYBLOCK_LL Exported Types
41   * @{
42   */
43 
44 
45 /**
46   * @}
47   */
48 
49 /* Exported constants --------------------------------------------------------*/
50 /** @defgroup DLYB_Exported_Constants Delay Block Exported Constants
51   * @{
52   */
53 
54 
55 #define DLYB_MAX_UNIT   ((uint32_t)0x00000080U) /*!< Max UNIT value (128)  */
56 
57 /** @defgroup DLYB_Instance DLYB Instance
58   * @{
59   */
60 #define IS_DLYB_ALL_INSTANCE(INSTANCE)  (((INSTANCE) == DLYB_SDMMC1) || \
61                                          ((INSTANCE) == DLYB_SDMMC2) || \
62                                          ((INSTANCE) == DLYB_QUADSPI))
63 /**
64   * @}
65   */
66 
67 /**
68   * @}
69   */
70 
71 /* Peripheral Control functions  ************************************************/
72 /** @addtogroup HAL_DELAYBLOCK_LL_Group3 Delay Block functions
73   * @{
74   */
75 HAL_StatusTypeDef DelayBlock_Enable(DLYB_TypeDef *dlyb);
76 HAL_StatusTypeDef DelayBlock_Disable(DLYB_TypeDef *dlyb);
77 
78 /**
79   * @}
80   */
81 
82 
83 /**
84   * @}
85   */
86 
87   /**
88   * @}
89   */
90 #ifdef __cplusplus
91 }
92 #endif
93 
94 #endif /* __STM32MP1xx_LL_DLYB_H */
95 
96 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
97