docs: Document the cross-port Timer hard= option.

Update the main machine.Timer specification, and any references to
hard/soft interrupts in port-specific documentation. There is a separate
copy of the machine.Timer documentation for the pyboard, so update that
too to keep everything consistent.

Signed-off-by: Chris Webb <chris@arachsys.com>
This commit is contained in:
Chris Webb
2025-08-25 15:29:40 +01:00
committed by Damien George
parent ec6cdf3718
commit b9523fd58c
4 changed files with 37 additions and 4 deletions

View File

@@ -287,6 +287,10 @@ with a timer ID of 0, 0 and 1, or from 0 to 3 (inclusive)::
The period is in milliseconds. When using UART.IRQ_RXIDLE, timer 0 is needed for
the IRQ_RXIDLE mechanism and must not be used otherwise.
Timer callbacks are scheduled as soft interrupts on this port; hard
callbacks are not implemented. Specifying ``hard=True`` will raise
a ValueError.
Virtual timers are not currently supported on this port.
.. _Pins_and_GPIO: