chipKIT® Development Platform

Inspired by Arduino™

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

RestoreIntEnable

  1. Synopsis

  2. Description

  3. Return Value

  4. Conforming To

  5. Examples

  6. See Also

Synopsis

 void restoreIntEnable(int irq, uint32_t st)

Description

This function restores the interrupt enable flag to a previous state. The value specified in the st parameter should be a value previously returned by setIntEnable() or clearIntEnable()

Return Value

None

Conforming To

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

Examples

 uint32_t st = clearIntEnable(_TIMER_3_IRQ);
 // Do something critical
 restoreIntEnable(_TIMER_3_IRQ, st);

See Also

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