I've just started getting to know about the ESP32 and I wanted to know,
Is there a way for me to know how many of the hardware timers (I believe there are 4) are currently active at a point of time?
I read the API and things like
Code: Select all
esp_err_t timer_get_config(timer_group_t group_num, timer_idx_t timer_num, timer_config_t *config)
will not work since it requires an already configured timer to pass as an arguement (the last param)
So is there any other way I can know which among the four timers are free?
Thanks.