Hardware Interrupts
Thread Scheduling
4-17
Run State:
This state is entered when you use a run command from the
debugger interface. CPU services all the interrupts, depending on the INTM
bit and the IER register value.
Figure 4-4.
The Interrupt Sequence in the Run-time State
No
No
Yes
Yes
Interrupt request sent to CPU
Check INTM bit
Check IER bit
Clear corresponding IER bit
Empty pipeline
Increment and temporarily store PC
Fetch interrupt vector
Increment SP by 1
Perform automatic context save
Clear corresponding IER bit
Set INTM & DBGM, Clear loop,
EALLOW, IDLESTAT
Load PC with fetch vector
Execute interrupt service routine
Program continues
Summary of Contents for TMS320 Series
Page 1: ...TMS320 DSP BIOS v5 40 User s Guide Literature Number SPRU423G April 2009 ...
Page 16: ...xvi ...
Page 152: ...Tasks 4 48 Figure 4 12 Trace from Example 4 7 ...
Page 168: ...Semaphores 4 64 Figure 4 14 Trace Results from Example 4 11 ...
Page 202: ...5 20 ...
Page 287: ...Index 9 Index Void 1 11 W words data memory 3 15 of code 1 5 wrapper function 2 29 ...
Page 288: ...Index 10 Index ...