Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:23:37

0001 /**
0002   ******************************************************************************
0003   * @file    stm32h7xx_ll_delayblock.h
0004   * @author  MCD Application Team
0005   * @brief   Header file of Delay Block module.
0006   ******************************************************************************
0007   * @attention
0008   *
0009   * Copyright (c) 2017 STMicroelectronics.
0010   * All rights reserved.
0011   *
0012   * This software is licensed under terms that can be found in the LICENSE file
0013   * in the root directory of this software component.
0014   * If no LICENSE file comes with this software, it is provided AS-IS.
0015   *
0016   ******************************************************************************
0017   */
0018 
0019 /* Define to prevent recursive inclusion -------------------------------------*/
0020 #ifndef STM32H7xx_LL_DLYB_H
0021 #define STM32H7xx_LL_DLYB_H
0022 
0023 #ifdef __cplusplus
0024  extern "C" {
0025 #endif
0026 
0027 /* Includes ------------------------------------------------------------------*/
0028 #include "stm32h7xx_hal_def.h"
0029 
0030 /** @addtogroup STM32H7xx_HAL_Driver
0031   * @{
0032   */
0033 
0034 /** @addtogroup DELAYBLOCK_LL
0035   * @{
0036   */ 
0037 
0038 /* Exported types ------------------------------------------------------------*/ 
0039 /** @defgroup DELAYBLOCK_LL_Exported_Types DELAYBLOCK_LL Exported Types
0040   * @ingroup RTEMSBSPsARMSTM32H7
0041   * @{
0042   */
0043   
0044 
0045 /**
0046   * @}
0047   */
0048   
0049 /* Exported constants --------------------------------------------------------*/
0050 /** @defgroup DLYB_Exported_Constants Delay Block Exported Constants
0051   * @ingroup RTEMSBSPsARMSTM32H7
0052   * @{
0053   */
0054 
0055 
0056 #define DLYB_MAX_UNIT   ((uint32_t)0x00000080U) /*!< Max UNIT value (128)  */
0057 #define DLYB_MAX_SELECT ((uint32_t)0x0000000CU) /*!< Max SELECT value (12)  */
0058 
0059 /**
0060   * @}
0061   */
0062 
0063 /** @addtogroup DelayBlock_LL_Exported_Functions
0064   * @{
0065   */
0066  
0067 /* Peripheral Control functions  ************************************************/
0068 /** @addtogroup HAL_DELAY_LL_Group1
0069   * @{
0070   */
0071 HAL_StatusTypeDef DelayBlock_Enable(DLYB_TypeDef *DLYBx);
0072 HAL_StatusTypeDef DelayBlock_Disable(DLYB_TypeDef *DLYBx);
0073 HAL_StatusTypeDef DelayBlock_Configure(DLYB_TypeDef *DLYBx, uint32_t PhaseSel, uint32_t Units);
0074 
0075 /**
0076   * @}
0077   */
0078   
0079 /**
0080   * @}
0081   */
0082    
0083 /**
0084   * @}
0085   */
0086 
0087   /**
0088   * @}
0089   */
0090 #ifdef __cplusplus
0091 }
0092 #endif
0093 
0094 #endif /* STM32H7xx_LL_DLYB_H */
0095