summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/mimxrt/quickref.rst9
1 files changed, 3 insertions, 6 deletions
diff --git a/docs/mimxrt/quickref.rst b/docs/mimxrt/quickref.rst
index c75fe60c8..06f91f7f5 100644
--- a/docs/mimxrt/quickref.rst
+++ b/docs/mimxrt/quickref.rst
@@ -56,21 +56,18 @@ Use the :mod:`time <time>` module::
Timers
------
-The i.MXRT port has three hardware timers. Use the :ref:`machine.Timer <machine.Timer>` class
-with a timer ID from 0 to 2 (inclusive)::
+The i.MXRT port supports virtual Timers. Example of usage::
from machine import Timer
- tim0 = Timer(0)
+ tim0 = Timer(-1)
tim0.init(period=5000, mode=Timer.ONE_SHOT, callback=lambda t:print(0))
- tim1 = Timer(1)
+ tim1 = Timer(-1)
tim1.init(period=2000, mode=Timer.PERIODIC, callback=lambda t:print(1))
The period is in milliseconds.
-Virtual timers are not currently supported on this port.
-
.. _mimxrt_Pins_and_GPIO:
Pins and GPIO