STM32H735xx HAL User Manual
|
00001 /** 00002 ****************************************************************************** 00003 * @file stm32h7xx_ll_delayblock.h 00004 * @author MCD Application Team 00005 * @brief Header file of Delay Block module. 00006 ****************************************************************************** 00007 * @attention 00008 * 00009 * Copyright (c) 2017 STMicroelectronics. 00010 * All rights reserved. 00011 * 00012 * This software is licensed under terms that can be found in the LICENSE file 00013 * in the root directory of this software component. 00014 * If no LICENSE file comes with this software, it is provided AS-IS. 00015 * 00016 ****************************************************************************** 00017 */ 00018 00019 /* Define to prevent recursive inclusion -------------------------------------*/ 00020 #ifndef STM32H7xx_LL_DLYB_H 00021 #define STM32H7xx_LL_DLYB_H 00022 00023 #ifdef __cplusplus 00024 extern "C" { 00025 #endif 00026 00027 /* Includes ------------------------------------------------------------------*/ 00028 #include "stm32h7xx_hal_def.h" 00029 00030 /** @addtogroup STM32H7xx_HAL_Driver 00031 * @{ 00032 */ 00033 00034 /** @addtogroup DELAYBLOCK_LL 00035 * @{ 00036 */ 00037 00038 /* Exported types ------------------------------------------------------------*/ 00039 /** @defgroup DELAYBLOCK_LL_Exported_Types DELAYBLOCK_LL Exported Types 00040 * @{ 00041 */ 00042 00043 00044 /** 00045 * @} 00046 */ 00047 00048 /* Exported constants --------------------------------------------------------*/ 00049 /** @defgroup DLYB_Exported_Constants Delay Block Exported Constants 00050 * @{ 00051 */ 00052 00053 00054 #define DLYB_MAX_UNIT ((uint32_t)0x00000080U) /*!< Max UNIT value (128) */ 00055 #define DLYB_MAX_SELECT ((uint32_t)0x0000000CU) /*!< Max SELECT value (12) */ 00056 00057 /** 00058 * @} 00059 */ 00060 00061 /* Peripheral Control functions ************************************************/ 00062 /** @addtogroup HAL_DELAYBLOCK_LL_Group3 Delay Block functions 00063 * @{ 00064 */ 00065 HAL_StatusTypeDef DelayBlock_Enable(DLYB_TypeDef *DLYBx); 00066 HAL_StatusTypeDef DelayBlock_Disable(DLYB_TypeDef *DLYBx); 00067 HAL_StatusTypeDef DelayBlock_Configure(DLYB_TypeDef *DLYBx, uint32_t PhaseSel, uint32_t Units); 00068 00069 /** 00070 * @} 00071 */ 00072 00073 00074 /** 00075 * @} 00076 */ 00077 00078 /** 00079 * @} 00080 */ 00081 #ifdef __cplusplus 00082 } 00083 #endif 00084 00085 #endif /* STM32H7xx_LL_DLYB_H */ 00086