EI

EI( UINT intsts )

intsts CPU interrupt status (details are implementation-dependent)

Enables all external interrupts.

More precisely, this macro restores the status in intsts. That is, the interrupt status reverts to what it was before interrupts were disabled by DI was executed, those interrupts are not enabled by EI(). All interrupts can be enabled, however, by specifying 0 in intsts.

intsts must be either the values stored in it by DI() or 0. If any other value is specified, the behavior is not guaranteed.

Comments

Click here to Post a Comment