aboutsummaryrefslogtreecommitdiff
path: root/lib/utils/mpirq.h
AgeCommit message (Collapse)Author
2020-09-08stm32/uart: Allow static IRQ handler registration.Jim Mussared
This will allow the HCI UART to use a non-heap mp_irq_obj_t, which avoids needing to make a root pointer for it.
2020-09-04lib/utils/mpirq: Add mp_irq_init func, and clean up unused init method.Damien George
mp_irq_init() is useful when the IRQ object is allocated by the caller. The mp_irq_methods_t.init method is not used anywhere so has been removed. Signed-off-by: Damien George <damien@micropython.org>
2018-12-29lib/utils: Add generic MicroPython IRQ helper functions.Tobias Badertscher
Initial implementation of this is taken from the cc3200 port.