You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

89 lines
2.2 KiB

  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. /* Define to prevent recursive inclusion -------------------------------------*/
  20. #ifndef STM32H7xx_LL_DLYB_H
  21. #define STM32H7xx_LL_DLYB_H
  22. #ifdef __cplusplus
  23. extern "C" {
  24. #endif
  25. /* Includes ------------------------------------------------------------------*/
  26. #include "stm32h7xx_hal_def.h"
  27. /** @addtogroup STM32H7xx_HAL_Driver
  28. * @{
  29. */
  30. /** @addtogroup DELAYBLOCK_LL
  31. * @{
  32. */
  33. /* Exported types ------------------------------------------------------------*/
  34. /** @defgroup DELAYBLOCK_LL_Exported_Types DELAYBLOCK_LL Exported Types
  35. * @{
  36. */
  37. /**
  38. * @}
  39. */
  40. /* Exported constants --------------------------------------------------------*/
  41. /** @defgroup DLYB_Exported_Constants Delay Block Exported Constants
  42. * @{
  43. */
  44. #define DLYB_MAX_UNIT ((uint32_t)0x00000080U) /*!< Max UNIT value (128) */
  45. #define DLYB_MAX_SELECT ((uint32_t)0x0000000CU) /*!< Max SELECT value (12) */
  46. /**
  47. * @}
  48. */
  49. /* Peripheral Control functions ************************************************/
  50. /** @addtogroup HAL_DELAYBLOCK_LL_Group3 Delay Block functions
  51. * @{
  52. */
  53. HAL_StatusTypeDef DelayBlock_Enable(DLYB_TypeDef *DLYBx);
  54. HAL_StatusTypeDef DelayBlock_Disable(DLYB_TypeDef *DLYBx);
  55. HAL_StatusTypeDef DelayBlock_Configure(DLYB_TypeDef *DLYBx, uint32_t PhaseSel, uint32_t Units);
  56. /**
  57. * @}
  58. */
  59. /**
  60. * @}
  61. */
  62. /**
  63. * @}
  64. */
  65. #ifdef __cplusplus
  66. }
  67. #endif
  68. #endif /* STM32H7xx_LL_DLYB_H */
  69. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/