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.
 
 
 

94 lines
2.4 KiB

  1. /**
  2. ******************************************************************************
  3. * @file stm32h7xx_hal_dfsdm_ex.h
  4. * @author MCD Application Team
  5. * @brief Header file of DFSDM HAL extended 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_HAL_DFSDM_EX_H
  21. #define STM32H7xx_HAL_DFSDM_EX_H
  22. #ifdef __cplusplus
  23. extern "C" {
  24. #endif
  25. #if defined(DFSDM_CHDLYR_PLSSKP)
  26. /* Includes ------------------------------------------------------------------*/
  27. #include "stm32h7xx_hal_def.h"
  28. /** @addtogroup STM32H7xx_HAL_Driver
  29. * @{
  30. */
  31. /** @addtogroup DFSDMEx
  32. * @{
  33. */
  34. /* Exported types ------------------------------------------------------------*/
  35. /* Exported constants --------------------------------------------------------*/
  36. /* Exported macros -----------------------------------------------------------*/
  37. /* Exported functions --------------------------------------------------------*/
  38. /** @addtogroup DFSDMEx_Exported_Functions DFSDM Extended Exported Functions
  39. * @{
  40. */
  41. /** @addtogroup DFSDMEx_Exported_Functions_Group1_Channel Extended channel operation functions
  42. * @{
  43. */
  44. HAL_StatusTypeDef HAL_DFDSMEx_ChannelSetPulsesSkipping(DFSDM_Channel_HandleTypeDef *hdfsdm_channel, uint32_t PulsesValue);
  45. HAL_StatusTypeDef HAL_DFDSMEx_ChannelGetPulsesSkipping(DFSDM_Channel_HandleTypeDef *hdfsdm_channel, uint32_t *PulsesValue);
  46. /**
  47. * @}
  48. */
  49. /**
  50. * @}
  51. */
  52. /* Private macros ------------------------------------------------------------*/
  53. /** @addtogroup DFSDMEx_Private_Macros DFSDM Extended Private Macros
  54. * @{
  55. */
  56. #define IS_DFSDM_CHANNEL_SKIPPING_VALUE(VALUE) ((VALUE) < 64U)
  57. /**
  58. * @}
  59. */
  60. /**
  61. * @}
  62. */
  63. /**
  64. * @}
  65. */
  66. #endif /* DFSDM_CHDLYR_PLSSKP */
  67. #ifdef __cplusplus
  68. }
  69. #endif
  70. #endif /* STM32H7xx_HAL_DFSDM_EX_H */
  71. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/