This function enables the peripheral clock on TIM2 and configures TIM2_CHTIMB_CHX as PWM output. It enables also the peripheral clock for GPIOA and configures PA.06 as alternate function for TIM2_CHTIMB_CHX.
This function enables the peripheral clock on TIM3, configures TIM3_CH1 as input and enables the capture/compare 1 interrupt It enables also the peripheral clock for GPIOA and configures PA.06 as alternate function for TIM3_CH1.
@file Examples_LL/TIM/TIM_InputCapture/Inc/main.h @author MCD Application Team 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.
@file Examples_LL/TIM/TIM_InputCapture/Inc/stm32f4xx_it.h @author MCD Application Team This file contains the headers of the interrupt handlers. @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.