chipKIT® Development Platform

Inspired by Arduino™

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

ClearIntEnable

  1. Synopsis

  2. Description

  3. Return Value

  4. Conforming To

  5. Examples

  6. See Also

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