October 2017
Intermediate to advanced
354 pages
9h 28m
English
The generic IRQ layer provides routines to carry out control operations on IRQ lines. Following is the list of functions for masking and unmasking specific IRQ lines:
void disable_irq(unsigned int irq);
This disables the specified IRQ line by manipulating the counter in the IRQ descriptor structure. This routine is a possible blocking call, as it waits until any running handlers for this interrupt complete. Alternatively, the function disable_irq_nosync() can also be used to disable the given IRQ line; this call does not check and wait for any running handlers for the given interrupt line to complete:
void disable_irq_nosync(unsigned int irq);
Disabled IRQ lines can be enabled with a call to:
void enable_irq(unsigned int ...