MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH TEXAS INSTRUMENTS CODE COMPOSER STUDIO Guide de l'utilisateur Page 411

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 575
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 410
Idle Task
For example, en t erin g [2,3, 1] in this eld indicates that there
arethreefunctionstobeexecuted,andthatthethirdfunction
is executed rst, the rst function is executed second, and the
second function is executed third. After all functions are executed,
the Idle Task block cycles back and repeats the execution of the
functions in the same order.
Preemption ags
Higher-priority interrupts can preempt interrupts that have lower
priority. To allow you to control preemption, use the preemption
ags to specify whether an interrupt can b e preempted.
Entering
1 indicates that the in terrupt can be preempted.
Entering
0 indicates the interrupt cannot be preempted. When
Task numbers contains more than one task, you can assign
different preemption ags to each task by entering a vector of ag
values, co rresponding to the order of the tas ks in Task numbers.
If Task numbers contains more than one task, and you enter
only one ag value here, th a t status a pp lies to all tasks.
In the default settings
[0 1], the task with priority 1 in Task
numbers is not preemptible, and the priority
2 task can be
preempted.
Enable simulation input
When you select this o ption, Simulink software adds an input
port to the Idle Task block. Thisportisusedinsimulation
only. Connect one or more simulated interrupt sources to the
simulation input.
Note Select this check box to tes t asynchronous interrupt processing
behavior in Simulink software.
9-19
Vue de la page 410
1 2 ... 406 407 408 409 410 411 412 413 414 415 416 ... 574 575

Commentaires sur ces manuels

Pas de commentaire