MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH TEXAS INSTRUMENTS CODE COMPOSER STUDIO Guía de usuario Pagina 120

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 575
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de 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
Vista de pagina 119
1 2 ... 115 116 117 118 119 120 121 122 123 124 125 ... 574 575

Comentarios a estos manuales

Sin comentarios