SingingCat 0
application
irq_router.h
1#ifndef IRQ_ROUTER_H
2#define IRQ_ROUTER_H 1
3typedef void (softirq)(int pin, void *opaque);
4
5int register_softirq(MCULIB_HANDLE handle, int pin, softirq *callback, void *opaque);
6void process_irqs();
7void irq_router_init(); // called once on startup
8void release_irq_by_handle(MCULIB_HANDLE handle);
9#endif