Renesas Emulator System M3T-MR100 Instrukcja Użytkownika Strona 31

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 306
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 30
- 15 -
3.2.1 Service Call Processing
When a service call is issued, processing takes place in the following sequence.
6
1. The current register contents are saved.
2. The stack pointer is changed from the task type to the real-time OS (system) type.
3. Processing is performed in compliance with the request made by the service call.
4. The task to be executed next is selected.
5. The stack pointer is changed to the task type.
6. The register contents are recovered to resume task execution.
The flowchart in Figure 3.10 shows the process between service call generation and task switching.
Key input Task
Service call issuance
Register Save
SP
<=
OS
Processing
Task Selection
Task => SP
Register Restore
LED illumination Task
Figure 3.10 Service Call Processing Flowchart
6
A different sequence is followed if the issued service call does not evoke task switching.
Przeglądanie stron 30
1 2 ... 26 27 28 29 30 31 32 33 34 35 36 ... 305 306

Komentarze do niniejszej Instrukcji

Brak uwag