section 7 - Index of

section 7 - Index of section 7 - Index of

11.07.2015 Views

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 off, 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 of 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 of Example: The WAIT instruction suspends normal instruction executionand waits for an unmasked interrupt or external RESET to occur.

WAIT Wait for Interrupt WAITCondition Codes:I LF I OM I T I ** I S1 I SO I 11 I 10 I s I L E I u N I zGGR15 14 13 12 11 10 9 8 7 6 5 4 3 2 oThe condition codes are not affected by this instruction.Instruction Format:WAITOpcode:23 16 15 87010 0 0 0 0 0 0 0100 0 0 0 00 01100001101Instruction Fields:NoneTiming: The WAIT instruction takes a minimum of 16 cycles to execute when an internalinterrupt is pending during the execution of the WAIT instructionMemory: 1 program word-

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!