Skip to content

Commit 92c219a

Browse files
robert-hhdpgeorge
authored andcommitted
docs/esp32/quickref: Mention the different timer counts.
Since the are ESP32 variants with 1, 2 or 4 hardware timers. Signed-off-by: robert-hh <[email protected]>
1 parent 2f86441 commit 92c219a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/esp32/quickref.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,10 @@ Use the :mod:`time <time>` module::
271271
Timers
272272
------
273273

274-
The ESP32 port has four hardware timers. Use the :ref:`machine.Timer <machine.Timer>` class
275-
with a timer ID from 0 to 3 (inclusive)::
274+
The ESP32 port has one, two or four hardware timers, depending on the ESP32 device type.
275+
There is 1 timer for ESP32C2, 2 timers for ESP32C4, ESP32C6 and ESP32H4, and
276+
4 timers otherwise. Use the :ref:`machine.Timer <machine.Timer>` class
277+
with a timer ID of 0, 0 and 1, or from 0 to 3 (inclusive)::
276278

277279
from machine import Timer
278280

0 commit comments

Comments
 (0)