參數(shù)資料
型號(hào): RX78K4
英文描述: 78K/IV Series Real-Time OS Fundamental | User's Manual[01/1997]
中文描述: 78K/IV系列實(shí)時(shí)操作系統(tǒng)的基本|用戶手冊(cè)[01/1997]
文件頁(yè)數(shù): 43/96頁(yè)
文件大?。?/td> 265K
代理商: RX78K4
CHAPTER 4 RX78K/IV SYSTEM CALL LIST
34
4.1.4
chg_pri (Change Task Priority)
ichg_pri (Change Task Priority for Interrupt)
[Function]
Changes the priority of a task.
[Remarks]
Changes the priority of the current task indicated by tskid to a value indicated by tskpri.
The own task is specified at tskid = 0. However, the own task cannot be specified with ichg_pri.
Priorities modified in the current system call are valid until remodified or performing the task is finished.
The priority for a task which has been restarted is the initial priority.
[System call ID number]
chg_pri = 3
[Parameter]
tskid (Task Identifier)
Task ID (TCB top address)
- 24 bits (large model)
- 16 bits (small model)
- 8 bits
tskpri(Task Priority)
Task priority
[Return parameter]
E_OK
E_DMT
Normal termination
Specified task is in DORMANT state
[Assembler format]
On issuing chg_pri
[Large model]
MOV
MOV
MOVW
MOV
CALLT
[Small model]
MOV
MOV
MOVW
CALLT
bnk0_b, #3
bnk0_e, #tskpri
bnk0_up, #tskid
bnk0_d, #tskid
[40H]
:
bnk0_b, #3
bnk0_e, #tskpri
bnk0_up, #tskid
[40H]
:
C register = return parameter
C register = return parameter
On issuing ichg_pri
[Large model]
MOV
MOVG
CALLT
[Small model]
MOV
MOVW
CALLT
E, #tskpri
UUP, #tskid
[42H]
:
E, #tskpri
UP, #tskid
[42H]
:
C register = return parameter
[C format]
On issuing chg-pri
ret = chg_pri (tskid, tskpri);
char
*tskid;
char
tskpri;
C register = return parameter
On issuing ichg-pri
ret = ichg_pri (tskid, tskpri);
char
*tskid;
char
tskpri;
相關(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