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   * <h2><center>&copy; Copyright (c) 2017 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 STM32H7xx_LL_DLYB_H
22 #define STM32H7xx_LL_DLYB_H
23 
24 #ifdef __cplusplus
25  extern "C" {
26 #endif
27 
28 /* Includes ------------------------------------------------------------------*/
29 #include "stm32h7xx_hal_def.h"
30 
31 /** @addtogroup STM32H7xx_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 #define DLYB_MAX_SELECT ((uint32_t)0x0000000CU) /*!< Max SELECT value (12)  */
57 
58 /**
59   * @}
60   */
61 
62 /* Peripheral Control functions  ************************************************/
63 /** @addtogroup HAL_DELAYBLOCK_LL_Group3 Delay Block functions
64   * @{
65   */
66 HAL_StatusTypeDef DelayBlock_Enable(DLYB_TypeDef *DLYBx);
67 HAL_StatusTypeDef DelayBlock_Disable(DLYB_TypeDef *DLYBx);
68 HAL_StatusTypeDef DelayBlock_Configure(DLYB_TypeDef *DLYBx, uint32_t PhaseSel, uint32_t Units);
69 
70 /**
71   * @}
72   */
73 
74 
75 /**
76   * @}
77   */
78 
79   /**
80   * @}
81   */
82 #ifdef __cplusplus
83 }
84 #endif
85 
86 #endif /* STM32H7xx_LL_DLYB_H */
87 
88 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
89