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 * Copyright (c) 2019 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 __STM32MP1xx_LL_DLYB_H 21 #define __STM32MP1xx_LL_DLYB_H 22 23 #ifdef __cplusplus 24 extern "C" { 25 #endif 26 27 /* Includes ------------------------------------------------------------------*/ 28 #include "stm32mp1xx_hal_def.h" 29 30 /** @addtogroup STM32MP1xx_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 56 /** @defgroup DLYB_Instance DLYB Instance 57 * @{ 58 */ 59 #define IS_DLYB_ALL_INSTANCE(INSTANCE) (((INSTANCE) == DLYB_SDMMC1) || \ 60 ((INSTANCE) == DLYB_SDMMC2) || \ 61 ((INSTANCE) == DLYB_QUADSPI)) 62 /** 63 * @} 64 */ 65 66 /** 67 * @} 68 */ 69 70 /* Peripheral Control functions ************************************************/ 71 /** @addtogroup HAL_DELAYBLOCK_LL_Group3 Delay Block functions 72 * @{ 73 */ 74 HAL_StatusTypeDef DelayBlock_Enable(DLYB_TypeDef *dlyb); 75 HAL_StatusTypeDef DelayBlock_Disable(DLYB_TypeDef *dlyb); 76 77 /** 78 * @} 79 */ 80 81 82 /** 83 * @} 84 */ 85 86 /** 87 * @} 88 */ 89 #ifdef __cplusplus 90 } 91 #endif 92 93 #endif /* __STM32MP1xx_LL_DLYB_H */ 94