參數(shù)資料
型號: RX78K4
英文描述: 78K/IV Series Real-Time OS Fundamental | User's Manual[01/1997]
中文描述: 78K/IV系列實(shí)時(shí)操作系統(tǒng)的基本|用戶手冊[01/1997]
文件頁數(shù): 48/96頁
文件大小: 265K
代理商: RX78K4
CHAPTER 4 RX78K/IV SYSTEM CALL LIST
39
4.1.9
wup_tsk (Wakeup Task)
iwup_tsk (Wakeup Task for Interrupt)
[Function]
Wakes up a task and places it in the READY state from the WAIT state.
[Remarks]
Places a task that has been placed in the WAIT state by system call “slp_tsk” or “wai_tsk” in the READY state.
The target task is indicated by tskid. The task itself cannot be specified.
If the target task has not executed “slp_tsk” or “wai_tsk” and is not in the WAIT state, this “wup_tsk” request is
queued. In this case, this “wup_tsk” request becomes valid when the target task later executes “slp_tsk” or
“wai_tsk”.
If the number of wake-up requests in the queue is about to exceed the upper limit (0FFH), an error (E_QOVR)
is returned.
[System call ID number]
wup_tsk = 8
[Parameter]
tskid (Task Identifier)
Task ID (TCB top address)
- 24 bits (large model)
- 16 bits (small model)
[Return parameter]
E_OK
E_DMT
E_QOVR
Normal termination
Specified task is in DORMANT state
Queue overflow
[Assembler format]
On issuing wup_tsk
[Large model]
MOV
MOVW
MOV
CALLT
[Small model]
MOV
MOVW
CALLT
bnk0_b, #8
bnk0_up, #tskid
bnk0_d, #tskid
[40H]
:
bnk0_b, #8
bnk0_up, #tskid
[40H]
:
C register = return parameter
C register = return parameter
On issuing iwup_tsk
[Large model]
MOVG
CALLT
[Small model]
MOVW
CALLT
UUP, #tskid
[46H]
:
UP, #tskid
[46H]
:
C register = return parameter
C register = return parameter
[C format]
On issuing wup_tsk
ret = wup_tsk (tskid);
char
On issuing iwup_tsk
ret = iwup_tsk (tskid);
char
*tskid;
*tskid;
相關(guān)PDF資料
PDF描述
RXB06150W TRANSISTOR | BJT | NPN | 15V V(BR)CEO | FO-91VAR
RXB12350Y Bipolar NPN UHF/Microwave Transisitor
RXE005 Poly Switch PTC DEVICES
RXE010S Poly Switch PTC DEVICES
RXE025 MULTISICHERUNG RXE 0.25A
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
RX-7P 制造商:SUMIDA 制造商全稱:Sumida Corporation 功能描述:POWER INDUCTORS
RX7P-NP-101K 制造商:SUMIDA 制造商全稱:Sumida Corporation 功能描述:POWER INDUCTORS
RX7P-NP-102K 制造商:SUMIDA 制造商全稱:Sumida Corporation 功能描述:POWER INDUCTORS
RX7P-NP-121K 制造商:SUMIDA 制造商全稱:Sumida Corporation 功能描述:POWER INDUCTORS
RX7P-NP-122K 制造商:SUMIDA 制造商全稱:Sumida Corporation 功能描述:POWER INDUCTORS