Cygdrvinterruptdetach, Cygdrvinterruptmask, Cyg_drv_interrupt_mask – Comtrol eCos User Manual

Page 405: Cyg_drv_interrupt_mask_intunsafe, Cyg_drv_interrupt_detach

Advertising
background image

Chapter 18. Device Driver Interface to the Kernel

Description:

Attach the interrupt to the vector so that interrupts will be delivered to the ISR when the interrupt occurs.

cyg_drv_interrupt_detach

Function:

void cyg_drv_interrupt_detach( cyg_handle_t interrupt )

Arguments:

interrupt

- interrupt to detach

Result:

None

Level:

ISR

Description:

Detach the interrupt from the vector so that interrupts will no longer be delivered to the ISR.

cyg_drv_interrupt_mask

Function:

void cyg_drv_interrupt_mask(cyg_vector_t vector )

Arguments:

vector

- vector to mask

Result:

None

Level:

ISR

Description:

Program the interrupt controller to stop delivery of interrupts on the given vector. On architectures which
implement interrupt priority levels this may also disable all lower priority interrupts.

301

Advertising