參數(shù)資料
型號: RX78K4
英文描述: 78K/IV Series Real-Time OS Fundamental | User's Manual[01/1997]
中文描述: 78K/IV系列實(shí)時(shí)操作系統(tǒng)的基本|用戶手冊[01/1997]
文件頁數(shù): 40/96頁
文件大小: 265K
代理商: RX78K4
CHAPTER 4 RX78K/IV SYSTEM CALL LIST
31
4.1.1
sta_tsk (Start Task)
[Function]
Starts a task by placing it in the READY state from the DORMANT state.
[Remarks]
This system call starts the task specified by tskid. As a result, the task enters the READY state from the
DORMANT state. This system call must not be issued to a task that is not in the DORMANT state. If issued,
error code “E_NODMT” is returned.
To start a task for the first time, or to restart a task that has been once terminated, processing is started from
the start address of the task, and the value of the stack pointer is set to the initial value. The values of the
other registers are undefined.
A task to which the “sta_tsk” system call is to be issued enables interrupts. Disable interrupts for each task.
[System call ID number]
sta_tsk = 0
[Parameter]
tskid (Task Identifier)
Task ID (TCB top address)
- 24 bits (large model)
- 16 bits (small model)
[Return parameter]
E_OK
E_NODMT
Normal termination
Specified task is not in DORMANT state
[Assembler format]
[Large model]
MOV
MOVW
MOV
CALLT
[Small model]
MOV
MOVW
CALLT
bnk0_b, #0
bnk0_up, #tskid
bnk0_d, #tskid
[40H]
:
bnk0_b, #0
bnk0_up, #tskid
[40H]
:
C register= return parameter
C register= return parameter
[C format]
ret = sta_tsk(tskid);
char
*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