MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH TEXAS INSTRUMENTS CODE COMPOSER STUDIO Podręcznik Użytkownika Strona 107

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 575
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 106
Schedulers and Timing
Generated code that incorporates DSP /B IO S real-time operating sy stem
(RTOS)
Generated code that does not include DSP/BIOS RTOS
Note In timer-based models, the timer counts through one full
base-sample-time before it creates an interrupt. When Simulink software
nally execute the model, it is for time 0.
The following gure shows the relationship between model startup and
execution. Execution starts where your model executes the rst interrupt,
offset to the right of t=0 from the beginning of the time line. Before the rst
interrupt, the simulation goes through the timer set up period and one base
rate period.
t=0.0
Base rate task
execution time
Timer setup
period
Base rate
period
Base rate
period
Base rate
period
Timer-based scheduling does not provide enough exibility for some systems.
Systems for control and communications m ust respond to asynchronous
events in real time. Such systems may need to handle a variety of hardware
interruptsinanasynchronous,oraperiodic ,fashion.
3-17
Przeglądanie stron 106
1 2 ... 102 103 104 105 106 107 108 109 110 111 112 ... 574 575

Komentarze do niniejszej Instrukcji

Brak uwag