IDLE
6-98
IDLE
Put Processor in Idle Mode
SYNTAX OPTIONS
OPCODE
OBJMODE
RPT
CYC
IDLE
0111 0110 0010 0001
X
−
5
Operands
None
Description
Put the processor into idle mode and wait for enabled or nonmaskable in-
terrupt. Devices using the 28x CPU may use the IDLE instruction in com-
bination with external logic to achieve different low-power modes. See the
device-specific datasheets for more detail. The idle instruction causes the
following sequence of events:
1) The pipeline is flushed.
2) All outstanding memory cycles are completed.
3) The IDLESTAT bit of status register ST1 is set.
4) Clocks to the CPU are stopped after the entire instruction buffer is full,
placing the device in the idle state. In the idle state, CLKOUT (the
clock output from the CPU) and all clocks to blocks outside the CPU
(including the emulation block) continue to operate as long as CLKIN
(the clock input to the CPU) is driven. The PC continues to hold the
address of the IDLE instruction; the PC is not incremented before the
CPU enters the idle state.
5) The IDLE output CPU signal is activated (driven high).
6) The device waits for an enabled or nonmaskable hardware interrupt.
If such an interrupt occurs, the IDLESTAT bit is cleared, the PC is
incremented by 1, and the device exits the idle state.
If the interrupt is maskable, it must be enabled in the interrupt enable regis-
ter (IER). However, the device exits the idle state regardless of the value
of the interrupt global mask bit (INTM) of status register ST1.
After the device exits the idle mode, the CPU must respond to the interrupt
request. If the interrupt can be disabled by the INTM bit in status register
ST1, the next event depends on INTM:
-
If (INTM = 0), then the interrupt is enabled, and the CPU executes the
corresponding interrupt service routine. On return from the interrupt,
execution begins at the instruction following the IDLE instruction.
-
If (INTM = 1), then the interrupt is blocked and program execution
continues at the instruction immediately following the IDLE.
If the interrupt cannot be disabled by INTM, the CPU executes the corre-
sponding interrupt service routine. On return from the interrupt, execution
begins at the instruction following the IDLE.
Содержание TMS320C28x
Страница 30: ...1 12...
Страница 80: ...This page intentionally left blank 2 50 This page intentionally left blank...
Страница 269: ...IN loc16 PA 6 112 MOV AL 0 AL 0 UOUT IORegC AL IOspace IORegC AL 10...
Страница 308: ...MAXCUL P loc32 6 151 Saturate MOVL Var64 2 ACC Store result into Var64 MOVL Var64 P...
Страница 509: ...SUBL ACC P PM 6 352 SUBL ACC P PM ACC S B 11 M X 4 MOVH Y ACC 5 Store Q15 result into Y...
Страница 585: ...This page intentionally left blank 7 32 This page intentionally left blank...