summaryrefslogtreecommitdiff
path: root/docs/library/machine.rst
diff options
context:
space:
mode:
authorAngus Gratton <angus@redyak.com.au>2025-11-05 11:22:18 +1100
committerDamien George <damien@micropython.org>2025-12-03 15:16:58 +1100
commit0b1a6bebae857053a0c6cc865e3ca38a8f5f28df (patch)
treecfe027d9ba13093732802098cb2531d0012c8eb7 /docs/library/machine.rst
parent5ea9a2662d9f530f88d566aec76cfaef5f6d392d (diff)
docs/library/machine.Timer: Explain the id parameter in more detail.
As noted in discussion on PR #18263, the id parameter is optional on ports that support virtual timers. Add some more general explanation of hardware vs virtual timers, and remove redundant documentation about timer callbacks in favour of the isr_rules page. This work was funded through GitHub Sponsors. Signed-off-by: Angus Gratton <angus@redyak.com.au>
Diffstat (limited to 'docs/library/machine.rst')
-rw-r--r--docs/library/machine.rst8
1 files changed, 0 insertions, 8 deletions
diff --git a/docs/library/machine.rst b/docs/library/machine.rst
index 69eda917e..31acb7492 100644
--- a/docs/library/machine.rst
+++ b/docs/library/machine.rst
@@ -11,14 +11,6 @@ and unrestricted access to and control of hardware blocks on a system
malfunction, lockups, crashes of your board, and in extreme cases, hardware
damage.
-.. _machine_callbacks:
-
-A note of callbacks used by functions and class methods of :mod:`machine` module:
-all these callbacks should be considered as executing in an interrupt context.
-This is true for both physical devices with IDs >= 0 and "virtual" devices
-with negative IDs like -1 (these "virtual" devices are still thin shims on
-top of real hardware and real hardware interrupts). See :ref:`isr_rules`.
-
Memory access
-------------