Cygdrvinterruptmaskintunsafe, Cygdrvinterruptunmask, Cygdrvinterruptunmaskintunsafe – Comtrol eCos User Manual

Page 406: Cyg_drv_interrupt_unmask, Cyg_drv_interrupt_unmask_intunsafe, Cyg_drv_interrupt_mask_intunsafe

Advertising
background image

Chapter 18. Device Driver Interface to the Kernel

cyg_drv_interrupt_mask_intunsafe

Function:

void cyg_drv_interrupt_mask_intunsafe(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. This version differs from

cyg_drv_interrupt_mask()

in not being interrupt safe. So in situations where, for example, interrupts are

already known to be disabled, this may be called to avoid the extra overhead.

cyg_drv_interrupt_unmask

Function:

void cyg_drv_interrupt_unmask(cyg_vector_t vector )

Arguments:

vector

- vector to unmask

Result:

None

Level:

ISR

Description:

Program the interrupt controller to re-allow delivery of interrupts on the given

vector

.

cyg_drv_interrupt_unmask_intunsafe

Function:

void cyg_drv_interrupt_unmask_intunsafe(cyg_vector_t vector )

302

Advertising