mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
Functions like mp_keyboard_interrupt() may need to be called from an IRQ handler and may need to be in a special memory section, so provide a generic wrapping macro for a port to do this. The macro name is chosen to be MICROPY_WRAP_<function name in uppercase> so that (in the future with more wrappers) each function could potentially be handled separately.
5.1 KiB
5.1 KiB