ClearIntEnable

From chipKIT
Jump to: navigation, search

Synopsis

uint32_t clearIntEnable(int irq)

Description

clearIntEnable() disables an internal interrupt. This prevents the interrupt from triggering any associated interrupt handler. Note that in this context an interrupt is any of the internal peripheral interrupts, not an external interrupt pin for which attachInterrupt() and detachInterrupt() should be used.

irq is the number of an interrupt request or its symbolic name as defined in the header file for the main MCU. Interrupt numbers are detailed in the datasheet for the main MCU.

Return Value

Returns the previous state of the specified interrupt enable flag.

Conforming To

clearIntEnable() does not conform to any other API and is unique to the chipKIT platform.

Examples

clearIntEnable(_TIMER_3_IRQ);

See Also

setIntEnable()