EasyManuals Logo

Texas Instruments TMS320 User Manual

Texas Instruments TMS320
288 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #113 background imageLoading...
Page #113 background image
Overview of Thread Scheduling
Thread Scheduling 4-9
Table 4-2. Thread Preemption
Figure 4-2 shows the execution graph for a scenario in which SWIs and HWIs
are enabled (the default), and a hardware interrupt routine posts a software
interrupt whose priority is higher than that of the software interrupt running
when the interrupt occurs. Also, a second hardware interrupt occurs while the
first ISR is running. The second ISR is held off because the first ISR masks
off (that is, disables) the second interrupt during the first ISR.
Thread Running
Thread Posted HWI SWI TSK IDL
Enabled HWI Preempts Preempts Preempts Preempts
Disabled HWI Waits for
reenable
Waits for
reenable
Waits for
reenable
Waits for
reenable
Enabled, higher-priority SWI —— Preempts Preempts Preempts
Disabled SWI Waits Waits for
reenable
Waits for
reenable
Waits for
reenable
Lower priority SWI Waits Waits —— ——
Enabled, higher-priority TSK —— —— Preempts Preempts
Disabled TSK Waits Waits Waits for
reenable
Waits for
reenable
Lower priority TSK Waits Waits Waits ——

Table of Contents

Other manuals for Texas Instruments TMS320

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TMS320 and is the answer not in the manual?

Texas Instruments TMS320 Specifications

General IconGeneral
BrandTexas Instruments
ModelTMS320
CategoryComputer Hardware
LanguageEnglish

Related product manuals