void restoreInterrupts(uint32_t st)
This function restores the state of the global interrupt enable flag to a previous state. The value passed in for st should be a value previously returned by either enableInterrupts() or disableInterrupts().
None
restoreInterrupts() does not conform to any external API, it is unique to the chipKIT system.
uint32_t st = disableInterrupts();
// Do something critical
restoreInterrupts(st);
attachInterrupt(), detachInterrupt(), clearIntEnable(), clearIntFlag(), clearIntVector(), disableInterrupts(), enableInterrupts(), getIntFlag(), getIntPriority(), getIntVector(), restoreIntEnable(), setIntEnable(), setIntPriority(), setIntVector()