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