ClearIntFlag

From chipKIT
Jump to: navigation, search

Synopsis

void clearIntFlag(int irq)

Description

clearIntFlag() clears the interrupt fired flag which is set when an interrupt occurs. It should be called to reset the interrupt in the interrupt routine. irq is the number (or symbolic name) of an interrupt request as detailed in the datasheet for the main MCU.

Return Value

None

Conforming To

clearIntFlag() does not conform to any external API, it is unique to the chipKIT system.

Examples

clearIntFlag(_TIMER_3_IRQ);

See Also

attachInterrupt(), detachInterrupt(), clearIntEnable(), clearIntVector(), disableInterrupts(), enableInterrupts(), getIntFlag(), getIntPriority(), getIntVector(), restoreIntEnable(), restoreInterrupts(), setIntEnable(), setIntPriority(), setIntVector()