Cygdrvinterruptlevel, Cyg_drv_interrupt_level, Cyg_drv_interrupt_set_cpu – Comtrol eCos User Manual
Page 408

Chapter 18. Device Driver Interface to the Kernel
level
- level or edge triggered
up
- rising/falling edge, high/low level
Result:
None
Level:
ISR
Description:
Program the interrupt controller with the characteristics of the interrupt source. The
level
argument chooses
between level- or edge-triggered interrupts. The
up
argument chooses between high and low level for level
triggered interrupts or rising and falling edges for edge triggered interrupts. This function only works with
interrupt controllers that can control these parameters.
cyg_drv_interrupt_level
Function:
void cyg_drv_interrupt_level( cyg_vector_t vector,
cyg_priority_t level
)
Arguments:
vector
- vector to configure
level
- level to set
Result:
None
Level:
ISR
Description:
Program the interrupt controller to deliver the given interrupt at the supplied priority level. This function only
works with interrupt controllers that can control this parameter.
304