MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Podręcznik Użytkownika Strona 292

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 386
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 291
11 Real-Time Workshop Libraries
11-14
Asynchronous Interrupt Block Example - Simulation Mode
This example shows how the Asynchronous Interrupt block works in
simulation mode:
The Asynchronous Interrupt block works as a “handler” that routes signals and
sets priority. If two interrupts occur simultaneously, the rule for handling
which signal is sent to which port is left/right and top/bottom. This means that
IRQ2 receives the signal from plant 1 and IRQ1 receives the signal from plant
2 simultaneously. IRQ1 still has priority over IRQ2 in this situation.
Note that the Asynchronous Interrupt block executes during simulation by
processing incoming signals and executing downstream functions. Also,
interrupt preemption cannot be simulated.
Simulated Interrupt Signals
Przeglądanie stron 291
1 2 ... 287 288 289 290 291 292 293 294 295 296 297 ... 385 386

Komentarze do niniejszej Instrukcji

Brak uwag