Renesas M3T-MR100 用户手册

下载
页码 304
   
- 84 - 
 
5.2  Task Dependent Synchronization Function 
Specifications of the task-dependent synchronization function are listed in below. 
 
Table 5.3 Specifications of the Task Dependent Synchronization Function 
No.  
 Item 
Content 
  Maximum value of task wakeup request count   
255   
  Maximum number of nested forcible task wait requests count   
 
Table 5.4 List of Task Dependent Synchronization Service Call 
System State 
No. Service 
Call 
Function 
T N E D
U L
1 slp_tsk 
 
[S][B] 
Puts task to sleep 
 
 
2 tslp_tsk 
[S] 
Puts task to sleep (with timeout) 
 
 
3 wup_tsk 
[S][B] 
O  O 
O
4 iwup_tsk 
[S][B] 
 
 O 
O
5 can_wup 
[B] 
O  O 
O
6 ican_wup 
 
 
 O 
O
7 rel_wai 
[S][B] 
O  O 
O
8 irel_wai 
[S][B] 
Releases task from waiting 
 O 
O
9 sus_tsk 
[S][B] 
O  O 
O
10 isus_tsk  
Suspends task 
 O 
O
11 rsm_tsk [S][B] 
O  O 
O
12 irsm_tsk  
Wakes up task 
 O 
O
13 frsm_tsk [S] 
O  O 
O
14 ifrsm_tsk  
Cancels wakeup request 
 O 
O
15 dly_tsk [S][B] 
Delays task 
 
 
 
  Notes: 
• 
[S]: Standard profile service calls 
[B]: Basic profile service calls 
• 
Each sign within " System State " is a following meaning.   
♦  T: Can be called from task context 
♦  N: Can be called from non-task context 
♦  E: Can be called from dispatch-enabled state 
♦  D: Can be called from dispatch-disabled state 
♦  U: Can be called from CPU-unlocked state 
♦  L: Can be called from CPU-locked state