Page 1 of 1

Which timers are reserved for esp32?

Posted: Fri Dec 20, 2019 6:20 am
by nagylzs
I'm in the process of writting a module for MP. I need to use a timer.

I have noticed that esp32 uses Timer 1 for PWM here:

https://github.com/micropython/micropyt ... _pwm.c#L57

So it is a fixed Timer number, and probaby I cannot use this timer for a different purpose. What timers are used internally by MicroPython? I need to know this so that I can allocate one in my module.

Thank you