STM32H735xx HAL User Manual
stm32h7xx_hal_dfsdm_ex.h
Go to the documentation of this file.
00001 /**
00002   ******************************************************************************
00003   * @file    stm32h7xx_hal_dfsdm_ex.h
00004   * @author  MCD Application Team
00005   * @brief   Header file of DFSDM HAL extended module.
00006   ******************************************************************************
00007   * @attention
00008   *
00009   * Copyright (c) 2017 STMicroelectronics.
00010   * All rights reserved.
00011   *
00012   * This software is licensed under terms that can be found in the LICENSE file
00013   * in the root directory of this software component.
00014   * If no LICENSE file comes with this software, it is provided AS-IS.
00015   *
00016   ******************************************************************************
00017   */
00018 
00019 /* Define to prevent recursive inclusion -------------------------------------*/
00020 #ifndef STM32H7xx_HAL_DFSDM_EX_H
00021 #define STM32H7xx_HAL_DFSDM_EX_H
00022 
00023 #ifdef __cplusplus
00024 extern "C" {
00025 #endif
00026 
00027 #if defined(DFSDM_CHDLYR_PLSSKP)
00028 
00029 /* Includes ------------------------------------------------------------------*/
00030 #include "stm32h7xx_hal_def.h"
00031 
00032 /** @addtogroup STM32H7xx_HAL_Driver
00033   * @{
00034   */
00035 
00036 /** @addtogroup DFSDMEx
00037   * @{
00038   */
00039 
00040 /* Exported types ------------------------------------------------------------*/
00041 /* Exported constants --------------------------------------------------------*/
00042 /* Exported macros -----------------------------------------------------------*/
00043 /* Exported functions --------------------------------------------------------*/
00044 
00045 /** @addtogroup DFSDMEx_Exported_Functions DFSDM Extended Exported Functions
00046   * @{
00047   */
00048 
00049 /** @addtogroup DFSDMEx_Exported_Functions_Group1_Channel Extended channel operation functions
00050   * @{
00051   */
00052 
00053 HAL_StatusTypeDef HAL_DFDSMEx_ChannelSetPulsesSkipping(DFSDM_Channel_HandleTypeDef *hdfsdm_channel, uint32_t PulsesValue);
00054 HAL_StatusTypeDef HAL_DFDSMEx_ChannelGetPulsesSkipping(DFSDM_Channel_HandleTypeDef *hdfsdm_channel, uint32_t *PulsesValue);
00055 
00056 /**
00057   * @}
00058   */
00059 
00060 /**
00061   * @}
00062   */
00063 
00064 /* Private macros ------------------------------------------------------------*/
00065 
00066 /** @addtogroup DFSDMEx_Private_Macros DFSDM Extended Private Macros
00067   * @{
00068   */
00069 
00070 #define IS_DFSDM_CHANNEL_SKIPPING_VALUE(VALUE)   ((VALUE) < 64U)
00071 
00072 /**
00073   * @}
00074   */
00075 
00076 /**
00077   * @}
00078   */
00079 
00080 /**
00081   * @}
00082   */
00083 
00084 #endif /* DFSDM_CHDLYR_PLSSKP */
00085 
00086 #ifdef __cplusplus
00087 }
00088 #endif
00089 
00090 #endif /* STM32H7xx_HAL_DFSDM_EX_H */
00091