11.07.2015 Views

section 7 - Index of

section 7 - Index of

section 7 - Index of

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

WAIT Wait for Interrupt WAITOperation:Disable clocks to the processor core andenter the WAIT processing state.Assembler Syntax:WAITDescription: Enter the WAIT processing state. The internal clocks to the processor coreand memories are gated <strong>of</strong>f, and all activity in the processor is suspended until anunmasked interrupt occurs. The clock oscillator and the internal I/O peripheral clocksremain active. If WAIT is executed when an interrupt is pending, the interrupt will be processed;the effect will be the same as if the processor never entered the WAIT state andthree NOPs followed the WAIT instruction. When an unmasked interrupt or external(hardware) processor RESET occurs, the processor leaves the WAIT state and be,ginsexception processing <strong>of</strong> the unmasked interrupt or RESET condition. The BRlBG circuitsremain active during the WAIT state. The WAIT state is a low-power standby state. Theprocessor always leaves the WAIT state in the T2 clock phase (see the DSP56001Advance Information Data Sheet (ADI1290)). Therefore, multiple processors may besynchronized by having them all enter the WAIT state and then interrupting them with acommon interrupt.Restrictions: A WAIT instruction cannot be used in a fast interrupt routine.A WAIT instruction cannot be the last instruction in a DO loop (at LA).A WAIT instruction cannot be repeated using the REP instruction.Example:WAIT;enter low power mode, wait for interruptExplanation <strong>of</strong> Example: The WAIT instruction suspends normal instruction executionand waits for an unmasked interrupt or external RESET to occur.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!