chipKIT® Development Platform

Inspired by Arduino™

Last edit: 2021-03-21 22:34 by Majenko

ClearIntFlag

  1. Synopsis

  2. Description

  3. Return Value

  4. Conforming To

  5. Examples

  6. See Also

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()