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

  • 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 102
Schedulers and Timing
Note Models in this section are for example purposes only. You cannot build
and run them without additional blocks.
Also, you can schedule multiple tasks for asynchronous execution using the
blocks.
The following gures show a model u pdated to use the asynchronous
scheduler by converting the model to a function subsystem and then adding
a scheduling block (Hardware Interrupt)todrivethefunctionsubsystemin
response to interrupts.
Before
The following model uses synchronous scheduling provided by the base rate
in the model.
Out1
1
Soft Threshold
Dead Zone
Dyadic Synthesis
Filter Bank
2: Asym
Dyadic Analysis
Filter Bank
2: Asym
Delay Alignment
In1
In2
In3
In4
Out
1
Out
2
Out
3
Out
4
In1
1
Output
After
To convert to asynchronous operation, wrap the model in the previous gure
in a function block and drive the input from a Hardware Interrupt block. The
hardware interrupts that trigger the H ardwareInterruptblocktoactivatean
ISR now trigg ers the model inside the function block.
3-13
Vue de la page 102
1 2 ... 98 99 100 101 102 103 104 105 106 107 108 ... 574 575

Commentaires sur ces manuels

Pas de commentaire