Renesas M3T-MR100 用户手册

下载
页码 304
- 63 - 
5. 
Service call reffernce 
5.1  Task Management Function 
Specifications of the task management function of MR100 are listed in Table 5.1 below. The task description languages in 
item No. 4 are those specified in the GUI configurator. They are not output to a configuration file, nor are the MR100 ker-
nel concerned with them. 
The task stack permits a section name to be specified for each task individually. 
Table 5.1 Specifications of the Task Management Function 
No. Item 
Content 
 Task ID   
1-255 
 Task priority  
1-255 
  Maximum number of activation request count
255 
TA_HLNG :  Tasks written in high-level language
TA_ASM : 
Tasks written in assem-bly language
 Task attribute  
TA_ACT: 
Startup attribute 
 Task stack  
Section specifiable 
 
Table 5.2 List of Task Management Function Service Call 
System State 
No. Service 
Call 
Function 
T N E D U L 
1 act_tsk 
[S] 
Activates 
task 
O    O O O   
2 iact_tsk 
[S] 
 
  O O O O   
3 can_act 
[S] 
O    O O O   
4 ican_act 
 
Cancels task activation request 
  O O O O   
5 sta_tsk 
[B] 
O    O O O   
6 ista_tsk 
 
Starts task and specifies start code 
  O O O O   
7 ext_tsk 
[S][B] 
Exits current task 
 
8 ter_tsk 
[S][B] 
Forcibly terminates a task 
 
 
9 chg_pri 
[S][B] 
O    O O O   
10 ichg_pri 
 
Changes task priority 
  O O O O   
11 get_pri 
[S] 
O    O O O   
12 iget_pri 
 
Refers to task priority 
  O O O O   
13 
ref_tsk   
O    O O O   
14 iref_tsk 
 
Refers to task state 
  O O O O   
15 
ref_tst   
O    O O O   
16 iref_tst 
 
Refers to task state (simple ver-
sion) 
  O O O O