Creating software based retriggerable one pulse timer
Hi, I want to create a timer with retriggerable pulse of specified length.
Now I know timer can do it, but there is an issue with one pulse retriggerable mode that needs to be from outside trigger otherwise it dont work. My application is specific and it needs retriggerable mode but internally not from external source. Now the simple solution would be give gpio to one of the sources and route it to that trigger pin and do that way, but the issue is PCBs are already manufactured and no changes can be made, so it is upto me to solve it in software now.
Is there any software solution I can do mimic this oneshot pulse timer ? I tried other methods with output compare and stuff but that does not work well.

