Renesas M3T-MR100 Network Card User Manual


 
viii
List of Figures
Figure 3.1 Relationship between Program Size and Development Period.....................................- 7 -
Figure 3.2 Microcomputer-based System Example(Audio Equipment) .........................................- 8 -
Figure 3.3 Example System Configuration with Real-time OS(Audio Equipment) ......................- 9 -
Figure 3.4 Time-division Task Operation.......................................................................................- 10 -
Figure 3.5 Task Execution Interruption and Resumption ............................................................- 11 -
Figure 3.6 Task Switching...............................................................................................................- 11 -
Figure 3.7 Task Register Area.........................................................................................................- 12 -
Figure 3.8 Actual Register and Stack Area Management .............................................................- 13 -
Figure 3.9 Service call......................................................................................................................- 14 -
Figure 3.10 Service Call Processing Flowchart..............................................................................- 15 -
Figure 3.11 Processing Procedure for a Service Call a Handler that caused an interrupt during Task
Execution - 17 -
Figure 3.12 Processing Procedure for a Service Call from a Handler that caused an interrupt during
Service Call Processing.............................................................................................................- 18 -
Figure 3.13 Processing Procedure for a service call from a Multiplex interrupt Handler ..........- 19 -
Figure 3.14 Task Identification.......................................................................................................- 20 -
Figure 3.15 Task Status...................................................................................................................- 21 -
Figure 3.16 MR100 Task Status Transition ...................................................................................- 22 -
Figure 3.17 Ready Queue (Execution Queue) ................................................................................- 25 -
Figure 3.18 Waiting queue of the TA_TPRI attribute ...................................................................- 26 -
Figure 3.19 Waiting queue of the TA_TFIFO attribute.................................................................- 26 -
Figure 3.20 Task control block ........................................................................................................- 27 -
Figure 3.21 Cyclic Handler/Alarm Handler Activation .................................................................- 29 -
Figure 3.22 Interrupt handler IPLs................................................................................................- 31 -
Figure 3.23 Interrupt control in a Service Call that can be Issued from only a Task .................- 32 -
Figure 3.24 Interrupt control in a Service Call that can be Issued from a Task-independent ...- 33 -
Figure 3.25 System Stack and User Stack .....................................................................................- 34 -
Figure 4.1 MR100 Structure............................................................................................................- 35 -
Figure 4.2 Task Resetting................................................................................................................- 37 -
Figure 4.3 Alteration of task priority..............................................................................................- 38 -
Figure 4.4 Task rearrangement in a waiting queue ......................................................................- 38 -
Figure 4.5 Wakeup Request Storage...............................................................................................- 39 -
Figure 4.6 Wakeup Request Cancellation.......................................................................................- 39 -
Figure 4.7 Forcible wait of a task and resume...............................................................................- 40 -
Figure 4.8 Forcible wait of a task and forcible resume..................................................................- 41 -
Figure 4.9 dly_tsk service call.........................................................................................................- 42 -
Figure 4.10 Exclusive Control by Semaphore ................................................................................- 43 -
Figure 4.11 Semaphore Counter .....................................................................................................- 43 -
Figure 4.12 Task Execution Control by Semaphore.......................................................................- 44 -
Figure 4.13 Task Execution Control by the Eventflag...................................................................- 46 -
Figure 4.14 Data queue ...................................................................................................................- 47 -
Figure 4.15 Mailbox .........................................................................................................................- 48 -
Figure 4.16 Message queue .............................................................................................................- 49 -
Figure 4.17 Memory Pool Management..........................................................................................- 50 -
Figure 4.18 pget_mpl processing.....................................................................................................- 52 -
Figure 4.19 rel_mpl processing .......................................................................................................- 53 -
Figure 4.20 Timeout Processing......................................................................................................- 54 -
Figure 4.21 Cyclic handler operation in cases where the activation phase is saved...................- 56 -
Figure 4.22 Cyclic handler operation in cases where the activation phase is not saved.............- 56 -
Figure 4.23 Typical operation of the alarm handler ......................................................................- 57 -
Figure 4.24 Ready Queue Management by rot_rdq Service Call..................................................- 58 -
Figure 4.25 Interrupt process flow..................................................................................................- 59 -
Figure 6.1 MR100 System Generation Detail Flowchart ............................................................- 206 -
Figure 6.2 Program Example ........................................................................................................- 208 -