irq_setcb — sets the IRQ handler
#include <irq.h>
irq_setcb ( | irq, | |
func) ; |
irq
; func
;Specify the callback function to be invoked, when the interrupt occurs on the specified interrupt request (IRQ) line. The provided callback function address is inserted into the Interrupt Vector Table.
The callback does not take arguments and does not return values. An example callback is shown below.