/** ****************************************************************************** * @file DFSDM/DFSDM_PulseSkipper/Inc/pulse_skipper.h * @author MCD Application Team * @brief This file contains definitions for pulse skipper. ****************************************************************************** * @attention * * Copyright (c) 2017 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file * in the root directory of this software component. * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** *//* ... *//* Includes ------------------------------------------------------------------*/#include"stm32f4xx_hal.h"/* Exported types ------------------------------------------------------------*/typedefstruct{uint32_tDFSDM1PulseSkipperCh;/*!< Channels selection to generate pulse skipper of DFSDM1. This parameter can be a value of @ref DFSDM1_PULSESKIPPER_CH *//* ... */uint32_tDFSDM2PulseSkipperCh;/*!< Channels selection to generate pulse skipper of DFSDM2. This parameter can be a value of @ref DFSDM2_PULSESKIPPER_CH *//* ... */...}PulseSkipper_InitTypeDef;Exported types/* Exported constants --------------------------------------------------------*//** * @brief Skipper Delay parameters structure definition *//* ... *//** * @brief DFSDM1_PULSESKIPPER_CH *//* ... */#defineDFSDM1_PULSE_SKIPPER_CH020x00000001U#defineDFSDM1_PULSE_SKIPPER_CH130x00000002U/** * @brief DFSDM2_PULSESKIPPER_CH *//* ... */#defineDFSDM2_PULSE_SKIPPER_CH040x00000010U#defineDFSDM2_PULSE_SKIPPER_CH150x00000020U#defineDFSDM2_PULSE_SKIPPER_CH260x00000040U#defineDFSDM2_PULSE_SKIPPER_CH370x00000080U#defineDFSDM1_TIM4_OC1TIM_CHANNEL_1#defineDFSDM1_TIM4_OC2TIM_CHANNEL_2#defineDFSDM2_TIM3_OC1TIM_CHANNEL_1#defineDFSDM2_TIM3_OC2TIM_CHANNEL_2#defineDFSDM2_TIM3_OC3TIM_CHANNEL_3#defineDFSDM2_TIM3_OC4TIM_CHANNEL_412 definesExported constants/* Exported macro ------------------------------------------------------------*//* Exported functions ------------------------------------------------------- */voidPulse_Skipper_Init(void);voidPulse_Skipper_Bitstream_Start(void);voidPulse_Skipper_Bitstream_Stop(void);voidPulse_Skipper_DeInit(void);Exported functionsvoidPulse_Skipper_Generate_Pulse(PulseSkipper_InitTypeDef*skipperstruct);