Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:23:35

0001 /**
0002   ******************************************************************************
0003   * @file    stm32h7xx_hal_dfsdm_ex.h
0004   * @author  MCD Application Team
0005   * @brief   Header file of DFSDM HAL extended module.
0006   ******************************************************************************
0007   * @attention
0008   *
0009   * Copyright (c) 2017 STMicroelectronics.
0010   * All rights reserved.
0011   *
0012   * This software is licensed under terms that can be found in the LICENSE file
0013   * in the root directory of this software component.
0014   * If no LICENSE file comes with this software, it is provided AS-IS.
0015   *
0016   ******************************************************************************
0017   */
0018 
0019 /* Define to prevent recursive inclusion -------------------------------------*/
0020 #ifndef STM32H7xx_HAL_DFSDM_EX_H
0021 #define STM32H7xx_HAL_DFSDM_EX_H
0022 
0023 #ifdef __cplusplus
0024 extern "C" {
0025 #endif
0026 
0027 #if defined(DFSDM_CHDLYR_PLSSKP)
0028 
0029 /* Includes ------------------------------------------------------------------*/
0030 #include "stm32h7xx_hal_def.h"
0031 
0032 /** @addtogroup STM32H7xx_HAL_Driver
0033   * @{
0034   */
0035 
0036 /** @addtogroup DFSDMEx
0037   * @{
0038   */
0039 
0040 /* Exported types ------------------------------------------------------------*/
0041 /* Exported constants --------------------------------------------------------*/
0042 /* Exported macros -----------------------------------------------------------*/
0043 /* Exported functions --------------------------------------------------------*/
0044 
0045 /** @addtogroup DFSDMEx_Exported_Functions DFSDM Extended Exported Functions
0046   * @{
0047   */
0048 
0049 /** @addtogroup DFSDMEx_Exported_Functions_Group1_Channel Extended channel operation functions
0050   * @{
0051   */
0052 
0053 HAL_StatusTypeDef HAL_DFDSMEx_ChannelSetPulsesSkipping(DFSDM_Channel_HandleTypeDef *hdfsdm_channel, uint32_t PulsesValue);
0054 HAL_StatusTypeDef HAL_DFDSMEx_ChannelGetPulsesSkipping(const DFSDM_Channel_HandleTypeDef *hdfsdm_channel, uint32_t *PulsesValue);
0055 
0056 /**
0057   * @}
0058   */
0059 
0060 /**
0061   * @}
0062   */
0063 
0064 /* Private macros ------------------------------------------------------------*/
0065 
0066 /** @addtogroup DFSDMEx_Private_Macros DFSDM Extended Private Macros
0067   * @{
0068   */
0069 
0070 #define IS_DFSDM_CHANNEL_SKIPPING_VALUE(VALUE)   ((VALUE) < 64U)
0071 
0072 /**
0073   * @}
0074   */
0075 
0076 /**
0077   * @}
0078   */
0079 
0080 /**
0081   * @}
0082   */
0083 
0084 #endif /* DFSDM_CHDLYR_PLSSKP */
0085 
0086 #ifdef __cplusplus
0087 }
0088 #endif
0089 
0090 #endif /* STM32H7xx_HAL_DFSDM_EX_H */
0091