MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH TEXAS INSTRUMENTS CODE COMPOSER STUDIO Guida Utente Pagina 120

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 575
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 119
3 Project Generator
Two Tasks with Sub-Rate 1 Overrunning Without Preemption
In this example, two rates running simultaneously—the Base-Rate task and
one subrate task. Both the Base-Rate task and the Sub-Rate 1 task overrun.
Base-Rate run s every 2ms instead of 1 ms.
- The Sub -Rate 1 task both overruns and i s affec ted by the Base-Rate
task overrunning.
- The Base-Rate task ove rrun d elay s Sub-Rate 1 task execution by a
factor of 4.
Sub-Rate 1 runs every 8ms rather than every 2ms.
The Base-Rate runs at 1ms.
The Base-Rate task preempts Sub-Rate 1 when it tries to execute.
The Sub-Rate 1 tasks overrun, taking up to 5ms to complete rather than
2ms.
3-30
Vedere la pagina 119
1 2 ... 115 116 117 118 119 120 121 122 123 124 125 ... 574 575

Commenti su questo manuale

Nessun commento