I have to use timer on ESP32 to count the time when signal is high, there is way to set the timer and get is value after some time without use interrupts?