參數(shù)資料
型號: RX78K4
英文描述: 78K/IV Series Real-Time OS Fundamental | User's Manual[01/1997]
中文描述: 78K/IV系列實時操作系統(tǒng)的基本|用戶手冊[01/1997]
文件頁數(shù): 45/96頁
文件大?。?/td> 265K
代理商: RX78K4
CHAPTER 4 RX78K/IV SYSTEM CALL LIST
36
4.1.6
tsk_sts (Get Task Status)
[Function]
Gets a task’s state.
[Remarks]
References each status of the task indicated by tskid, and sets the current priority of the target task “tskpri”
and task state “tskstat” in a specified address (refer to the figure below).
The own task is specified at tskid = 0.
The area for P-tsksts should be allocated by the user.
For the task status, refer to
APPENDIX 1
.
p_tsksts
1H
0H
Task priority
(tskpri)
Task status
(tskstat)
[System call ID number]
tsk_sts = 5
[Parameter]
tskid (Task Identifier)
Task ID (TCB top address)
- 24 bits (large model)
- 16 bits (small model)
- 24 bits (large model)
- 16 bits (small model)
p_tsksts (Pointer of Task Status)
Address of area storing task status
[Return parameter]
E_OK
Normal termination
[Assembler format]
[Large model]
MOV
MOVW
MOV
MOVW
MOV
CALLT
[Small model]
MOV
MOVW
MOVW
CALLT
bnk0_b, #5
bnk0_up, #tskid
bnk0_d, #tskid
bnk0_vp, #p_tsksts
bnk0_e, #p_tsksts
[40H]
:
bnk0_b, #5
bnk0_up, #tskid
bnk0_vp, #p_tsksts
[40H]
:
C register = return parameter
C register = return parameter
[C format]
ret = tsk_sts (p_tsksts,tskid);
short
*p_tsksts;
char
*tskid;
相關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
相關代理商/技術參數(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