This function configures TIM2 to generate a positive pulse on OC1 with a length of 3 s and after a delay of 2 s as soon as a positive edge is detected on the TI2 input pin.
@file Examples_LL/TIM/TIM_OnePulse/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_OnePulse/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.