Cygdrvinterruptdelete, Cygdrvinterruptattach, Cyg_drv_interrupt_delete – Comtrol eCos User Manual
Page 404: Cyg_drv_interrupt_attach, Cyg_drv_interrupt_detach

Chapter 18. Device Driver Interface to the Kernel
Level:
Thread
Description:
Create an interrupt object and returns a handle to it. The object contains information about which interrupt
vector to use and the ISR and DSR that will be called after the interrupt object is attached to the vector. The
interrupt object will be allocated in the memory passed in the
intr
parameter. The interrupt object is not
immediately attached; it must be attached with the
cyg_interrupt_attach()
call.
cyg_drv_interrupt_delete
Function:
void cyg_drv_interrupt_delete( cyg_handle_t interrupt )
Arguments:
interrupt
- interrupt to delete
Result:
None
Level:
Thread
Description:
Detach the interrupt from the vector and free the memory passed in the
intr
argument to
cyg_drv_interrupt_create()
for reuse.
cyg_drv_interrupt_attach
Function:
void cyg_drv_interrupt_attach( cyg_handle_t interrupt )
Arguments:
interrupt
- interrupt to attach
Result:
None
Level:
ISR
300