Renesas M3T-MR100 Manuale Utente Pagina 35

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 304
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 34
- 21 -
3.4 Task
This section describes how tasks are managed by MR100.
3.4.1 Task Status
The real-time OS monitors the task status to determine whether or not to execute the tasks.
Figure 3.15 shows the relationship between key input task execution control and task status. When there is a key input, the
key input tas
k must be executed. That is, the key input task is placed in the execution (RUNNING) state. While the system
waits for key input, task execution is not needed. In that situation, the key input task in the WAITING state.
Key input
Task
RUNNIG state WAITING state RUNNING state
Waiting for
key input
Key input
processing
Key input
p
rocessin
g
Figure 3.15 Task Status
The MR100 controls the following six different states including the RUNNING and WAITING states.
1. RUNNING state
2. READY state
3. WAITING state
4. SUSPENDED state
5. WAITING-SUSPENDED state
6. DORMANT state
Every task is in one of the above six different states. Figure 3.16 shows task status transition.
Vedere la pagina 34
1 2 ... 30 31 32 33 34 35 36 37 38 39 40 ... 303 304

Commenti su questo manuale

Nessun commento