mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 04:00:28 +01:00
Separate out a routine to call an arbitrary function with arbitrary argument either directly as a hard-IRQ handler or scheduled as a soft-IRQ handler, adjusting mp_irq_handler() to wrap this. This can then be used to implement other hard/soft callbacks, such as for machine.Timer. Signed-off-by: Chris Webb <chris@arachsys.com>
3.0 KiB
3.0 KiB