stm32l4xx_hal_dfsdm_ex.h 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. /**
  2. ******************************************************************************
  3. * @file stm32l4xx_hal_dfsdm_ex.h
  4. * @author MCD Application Team
  5. * @brief Header file of DFSDM HAL extended module.
  6. ******************************************************************************
  7. * @attention
  8. *
  9. * Copyright (c) 2017 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. /* Define to prevent recursive inclusion -------------------------------------*/
  19. #ifndef STM32L4xx_HAL_DFSDM_EX_H
  20. #define STM32L4xx_HAL_DFSDM_EX_H
  21. #ifdef __cplusplus
  22. extern "C" {
  23. #endif
  24. #if defined(STM32L4R5xx) || defined(STM32L4R7xx) || defined(STM32L4R9xx) || defined(STM32L4S5xx) || defined(STM32L4S7xx) || defined(STM32L4S9xx) || \
  25. defined(STM32L4P5xx) || defined(STM32L4Q5xx)
  26. /* Includes ------------------------------------------------------------------*/
  27. #include "stm32l4xx_hal_def.h"
  28. /** @addtogroup STM32L4xx_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(const 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 /* STM32L4R5xx || STM32L4R7xx || STM32L4R9xx || STM32L4S5xx || STM32L4S7xx || STM32L4S9xx || STM32L4P5xx || STM32L4Q5xx */
  67. #ifdef __cplusplus
  68. }
  69. #endif
  70. #endif /* STM32L4xx_HAL_DFSDM_EX_H */