ESP32 generate single timed pulse on interrupt

Please post the code.
The ISR can raise a flag that's polled, and reset, in loop......