STM32F407IET Timer Gated Mode
Hello,
I am using the STM32F407IET in one of my projects and I have timer 1 set us as follows below



currently my channel 1 is used to record the positive rises on a incoming pulse signal and what I want to do is use the gated mode to be able to tell me when the pulse is high this way I should be able to calculate duty cycle. the issue that I am currently facing is the gated count can elapse before my DMA interrupt flags so I'm struggling to measure anything with over ~5% duty cycle. is there a way on this timer to throw an interrupt when the count has elapsed?
for example I have another timer set up to so when the count reaches the end of its counting period it throws an interrupt so I can set a bunch of flags every second and that's using the global interrupt but for some reason timer 1 doesn't have a global interrupt and I don't know how to make it interrupt from the timer.
if you need any more information please let me know and hopefully that makes sense.
Thank you
