From b9523fd58c02dba74239015bf6b2a1983342a06b Mon Sep 17 00:00:00 2001 From: Chris Webb Date: Mon, 25 Aug 2025 15:29:40 +0100 Subject: 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 --- docs/esp8266/quickref.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/esp8266') diff --git a/docs/esp8266/quickref.rst b/docs/esp8266/quickref.rst index e17b60f67..95e1fcf97 100644 --- a/docs/esp8266/quickref.rst +++ b/docs/esp8266/quickref.rst @@ -108,6 +108,9 @@ with timer ID of -1:: The period is in milliseconds. +By default, timer callbacks are scheduled as soft interrupts on this port. +Specify ``hard=True`` to run them in hard interrupt context instead. + Pins and GPIO ------------- -- cgit v1.2.3