next up previous contents index
Next: 6.15.6 osenv_irq_disable: Disable a Up: 6.15 Hardware Interrupts Previous: 6.15.4 osenv_irq_alloc: allocate an

6.15.5 osenv_irq_free: Unregister the handler for the interrupt

 

SYNOPSIS

void osenv_irq_free(int irqnum, void (*handler)(void *), void *data);

DIRECTION

Component tex2html_wrap_inline32841 OS, Nonblocking

DESCRIPTION

Removes the indicated interrupt handler. The handler is only removed if it was registered with osenv_irq_alloc for the indicated interrupt request line and with the indicated data pointer.

PARAMETERS

irq
The physical interrupt line.
handler
The function handler's address. This is necessary if multiple handlers are registered for the same interrupt.
data
The data value registered with osenv_irq_alloc.



University of Utah Flux Research Group