/** ****************************************************************************** * @file TIM/TIM_OnePulse/Inc/main.h * @author MCD Application Team * @brief Header for main.c module ****************************************************************************** * @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. * ****************************************************************************** *//* ... *//* Define to prevent recursive inclusion -------------------------------------*/#ifndef__MAIN_H#define__MAIN_H/* Includes ------------------------------------------------------------------*/#include"stm324xg_eval.h"#include"stm32f4xx_hal.h"Includes/* Exported types ------------------------------------------------------------*//* Exported constants --------------------------------------------------------*//* Exported macro ------------------------------------------------------------*//* Definition for TIMx clock resources */#defineTIMxTIM4#defineTIMx_CLK_ENABLE__HAL_RCC_TIM4_CLK_ENABLE/* Definition for TIMx Pins */#defineTIMx_CHANNEL_GPIO_PORT__HAL_RCC_GPIOB_CLK_ENABLE#defineTIMx_GPIO_PORTGPIOB#defineGPIO_PIN_CHANNEL1GPIO_PIN_6#defineGPIO_PIN_CHANNEL2GPIO_PIN_7#defineGPIO_AF_TIMxGPIO_AF2_TIM47 definesExported macro/* Exported functions ------------------------------------------------------- */Exported functions/* ... */#endif/* __MAIN_H */