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 * 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 19 /* Define to prevent recursive inclusion -------------------------------------*/ 20 #ifndef STM32H7xx_HAL_DFSDM_EX_H 21 #define STM32H7xx_HAL_DFSDM_EX_H 22 23 #ifdef __cplusplus 24 extern "C" { 25 #endif 26 27 #if defined(DFSDM_CHDLYR_PLSSKP) 28 29 /* Includes ------------------------------------------------------------------*/ 30 #include "stm32h7xx_hal_def.h" 31 32 /** @addtogroup STM32H7xx_HAL_Driver 33 * @{ 34 */ 35 36 /** @addtogroup DFSDMEx 37 * @{ 38 */ 39 40 /* Exported types ------------------------------------------------------------*/ 41 /* Exported constants --------------------------------------------------------*/ 42 /* Exported macros -----------------------------------------------------------*/ 43 /* Exported functions --------------------------------------------------------*/ 44 45 /** @addtogroup DFSDMEx_Exported_Functions DFSDM Extended Exported Functions 46 * @{ 47 */ 48 49 /** @addtogroup DFSDMEx_Exported_Functions_Group1_Channel Extended channel operation functions 50 * @{ 51 */ 52 53 HAL_StatusTypeDef HAL_DFDSMEx_ChannelSetPulsesSkipping(DFSDM_Channel_HandleTypeDef *hdfsdm_channel, uint32_t PulsesValue); 54 HAL_StatusTypeDef HAL_DFDSMEx_ChannelGetPulsesSkipping(const DFSDM_Channel_HandleTypeDef *hdfsdm_channel, uint32_t *PulsesValue); 55 56 /** 57 * @} 58 */ 59 60 /** 61 * @} 62 */ 63 64 /* Private macros ------------------------------------------------------------*/ 65 66 /** @addtogroup DFSDMEx_Private_Macros DFSDM Extended Private Macros 67 * @{ 68 */ 69 70 #define IS_DFSDM_CHANNEL_SKIPPING_VALUE(VALUE) ((VALUE) < 64U) 71 72 /** 73 * @} 74 */ 75 76 /** 77 * @} 78 */ 79 80 /** 81 * @} 82 */ 83 84 #endif /* DFSDM_CHDLYR_PLSSKP */ 85 86 #ifdef __cplusplus 87 } 88 #endif 89 90 #endif /* STM32H7xx_HAL_DFSDM_EX_H */ 91 92