Renesas M3T-MR100 Network Card User Manual


 
iv
4.1.8 Synchronization and Communication Function (Mailbox)..................................................... - 48 -
4.1.9 Memory pool Management Function(Fixed-size Memory pool) .............................................- 50 -
4.1.10 Variable-size Memory Pool Management Function ................................................................- 51 -
4.1.11 Time Management Function..................................................................................................... - 54 -
4.1.12 Cyclic Handler Function ...........................................................................................................- 56 -
4.1.13 Alarm Handler Function........................................................................................................... - 57 -
4.1.14 System Status Management Function.....................................................................................- 58 -
4.1.15 Interrupt Management Function ............................................................................................. - 59 -
4.1.16 System Configuration Management Function ........................................................................- 60 -
4.1.17 Extended Function (Short Data Queue) ..................................................................................- 60 -
4.1.18 Extended Function (Reset Function) .......................................................................................- 61 -
5. Service call reffernce.............................................................................................................................- 63 -
5.1 Task Management Function ............................................................................................................ - 63 -
act_tsk Activate task .......................................................................................................................... - 65 -
iact_tsk Activate task (handler only).................................................................................................. - 65 -
can_act Cancel task activation request..............................................................................................- 67 -
ican_act Cancel task activation request (handler only) .....................................................................- 67 -
sta_tsk Activate task with a start code ............................................................................................. - 69 -
ista_tsk Activate task with a start code (handler only).....................................................................- 69 -
ext_tsk Terminate invoking task .......................................................................................................- 71 -
ter_tsk Terminate task ....................................................................................................................... - 73 -
chg_pri Change task priority.............................................................................................................. - 75 -
ichg_pri Change task priority(handler only) ...................................................................................... - 75 -
get_pri Reference task priority .......................................................................................................... - 77 -
iget_pri Reference task priority(handler only) ..................................................................................- 77 -
ref_tsk Reference task status ............................................................................................................ - 79 -
iref_tsk Reference task status (handler only).................................................................................... - 79 -
ref_tst Reference task status (simplified version) ...........................................................................- 82 -
iref_tst Reference task status (simplified version, handler only)....................................................- 82 -
5.2 Task Dependent Synchronization Function.................................................................................... - 84 -
slp_tsk Put task to sleep.....................................................................................................................- 85 -
tslp_tsk Put task to sleep (with timeout)............................................................................................ - 85 -
wup_tsk Wakeup task........................................................................................................................... - 88 -
iwup_tsk Wakeup task (handler only)............................................................................................... - 88 -
can_wup Cancel wakeup request...................................................................................................... - 90 -
ican_wup Cancel wakeup request (handler only) .............................................................................- 90 -
rel_wai Release task from waiting..................................................................................................... - 92 -
irel_wai Release task from waiting (handler only) ............................................................................ - 92 -
sus_tsk Suspend task.......................................................................................................................... - 94 -
isus_tsk Suspend task (handler only) .................................................................................................- 94 -
rsm_tsk Resume suspended task ........................................................................................................ - 96 -
irsm_tsk Resume suspended task(handler only) .............................................................................- 96 -
frsm_tsk Forcibly resume suspended task .......................................................................................- 96 -
ifrsm_tsk Forcibly resume suspended task(handler only) ...............................................................- 96 -
dly_tsk Delay task............................................................................................................................... - 98 -
5.3 Synchronization & Communication Function (Semaphore) ........................................................- 100 -
sig_sem Release semaphore resource ............................................................................................... - 101 -
isig_sem Release semaphore resource (handler only)................................................................... - 101 -
wai_sem Acquire semaphore resource............................................................................................ - 103 -
pol_sem Acquire semaphore resource (polling) ................................................................................ - 103 -
ipol_sem Acquire semaphore resource (polling, handler only) .....................................................- 103 -
twai_sem Acquire semaphore resource(with timeout).................................................................... - 103 -
ref_sem Reference semaphore status ...............................................................................................- 106 -
iref_sem Reference semaphore status (handler only)....................................................................... - 106 -
5.4 Synchronization & Communication Function (Eventflag)........................................................... - 108 -
set_flg Set eventflag......................................................................................................................... - 109 -
iset_flg Set eventflag (handler only)................................................................................................- 109 -
clr_flg Clear eventflag..........................................................................................................................- 111 -
iclr_flg Clear eventflag (handler only) .............................................................................................- 111 -