Synopsis
#include <inavr.h>
unsigned char __restore_interrupt(unsigned char state);
Description

__restore_interrupt restores the state of the I bit in the status register to the value saved in state.

The value of state is returned from the __disable_interrupt, __enable_interrupt, and __save_interrupt intrinsic functions and is simply the previous value of the status register.

__restore_interrupt is an intrinsic function and produces inline code.

Portability

__restore_interrupt can be used on any AVR device.

See Also

__disable_interrupt, __enable_interrupt, __save_interrupt