1 /**
2   ******************************************************************************
3   * @file    stm32h7xx_ll_delayblock.h
4   * @author  MCD Application Team
5   * @brief   Header file of Delay Block module.
6   ******************************************************************************
7   * @attention
8   *
9   * Copyright (c) 2017 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 
19 /* Define to prevent recursive inclusion -------------------------------------*/
20 #ifndef STM32H7xx_LL_DLYB_H
21 #define STM32H7xx_LL_DLYB_H
22 
23 #ifdef __cplusplus
24  extern "C" {
25 #endif
26 
27 /* Includes ------------------------------------------------------------------*/
28 #include "stm32h7xx_hal_def.h"
29 
30 /** @addtogroup STM32H7xx_HAL_Driver
31   * @{
32   */
33 
34 /** @addtogroup DELAYBLOCK_LL
35   * @{
36   */
37 
38 /* Exported types ------------------------------------------------------------*/
39 /** @defgroup DELAYBLOCK_LL_Exported_Types DELAYBLOCK_LL Exported Types
40   * @{
41   */
42 
43 
44 /**
45   * @}
46   */
47 
48 /* Exported constants --------------------------------------------------------*/
49 /** @defgroup DLYB_Exported_Constants Delay Block Exported Constants
50   * @{
51   */
52 
53 
54 #define DLYB_MAX_UNIT   ((uint32_t)0x00000080U) /*!< Max UNIT value (128)  */
55 #define DLYB_MAX_SELECT ((uint32_t)0x0000000CU) /*!< Max SELECT value (12)  */
56 
57 /**
58   * @}
59   */
60 
61 /** @addtogroup DelayBlock_LL_Exported_Functions
62   * @{
63   */
64 
65 /* Peripheral Control functions  ************************************************/
66 /** @addtogroup HAL_DELAY_LL_Group1
67   * @{
68   */
69 HAL_StatusTypeDef DelayBlock_Enable(DLYB_TypeDef *DLYBx);
70 HAL_StatusTypeDef DelayBlock_Disable(DLYB_TypeDef *DLYBx);
71 HAL_StatusTypeDef DelayBlock_Configure(DLYB_TypeDef *DLYBx, uint32_t PhaseSel, uint32_t Units);
72 
73 /**
74   * @}
75   */
76 
77 /**
78   * @}
79   */
80 
81 /**
82   * @}
83   */
84 
85   /**
86   * @}
87   */
88 #ifdef __cplusplus
89 }
90 #endif
91 
92 #endif /* STM32H7xx_LL_DLYB_H */
93 
94