2 ******************************************************************************
3 * @file stm32h7xx_ll_delayblock.h
4 * @author MCD Application Team
5 * @brief Header file of Delay Block module.
6 ******************************************************************************
9 * <h2><center>© Copyright (c) 2017 STMicroelectronics.
10 * All rights reserved.</center></h2>
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
17 ******************************************************************************
20 /* Define to prevent recursive inclusion -------------------------------------*/
21 #ifndef STM32H7xx_LL_DLYB_H
22 #define STM32H7xx_LL_DLYB_H
28 /* Includes ------------------------------------------------------------------*/
29 #include "stm32h7xx_hal_def.h"
31 /** @addtogroup STM32H7xx_HAL_Driver
35 /** @addtogroup DELAYBLOCK_LL
39 /* Exported types ------------------------------------------------------------*/
40 /** @defgroup DELAYBLOCK_LL_Exported_Types DELAYBLOCK_LL Exported Types
49 /* Exported constants --------------------------------------------------------*/
50 /** @defgroup DLYB_Exported_Constants Delay Block Exported Constants
55 #define DLYB_MAX_UNIT ((uint32_t)0x00000080U) /*!< Max UNIT value (128) */
56 #define DLYB_MAX_SELECT ((uint32_t)0x0000000CU) /*!< Max SELECT value (12) */
62 /* Peripheral Control functions ************************************************/
63 /** @addtogroup HAL_DELAYBLOCK_LL_Group3 Delay Block functions
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
);
86 #endif /* STM32H7xx_LL_DLYB_H */
88 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/