Page 1 of 1

New Timer API, where is the selection of the timer ?

Posted: Sun Mar 30, 2025 11:08 am
by billys7
With the new timer API v3.0 and above, i could not find where i choose the timer i want to use.

In the previous API v2.X we had to declare "timer = timerBegin(1, 80, true); means Timer 1, prescaler 80 → 1 MHz (1 µs ticks)".
In the new API, where can i choose timer 3 for example ?

Re: New Timer API, where is the selection of the timer ?

Posted: Sun Mar 30, 2025 5:02 pm
by lbernstone
The ESP-IDF v5 gptimer driver manages the timers as a pool to abstract away the hardware differences between different variants.

Re: New Timer API, where is the selection of the timer ?

Posted: Tue Apr 01, 2025 6:16 pm
by billys7
Is there any way i can choose the timer ?