參數(shù)資料
型號: RX78K4
英文描述: 78K/IV Series Real-Time OS Fundamental | User's Manual[01/1997]
中文描述: 78K/IV系列實時操作系統(tǒng)的基本|用戶手冊[01/1997]
文件頁數(shù): 69/96頁
文件大?。?/td> 265K
代理商: RX78K4
CHAPTER 4 RX78K/IV SYSTEM CALL LIST
60
4.4.2
ret_wup (Return and Wakeup Task)
[Function]
Returns from an interrupt handler and wakes up a task.
[Remarks]
Returns from an interrupt handler and wakes up an interrupt processing task indicated by tskid (the task
placed in the WAIT state by “slp_tsk” or “wai_tsk”). If the target task does not execute “slp_tsk” or “wai_tsk”,
the request is queued.
Even if “i
′′′
_yyy” system call is issued in the interrupt handler, dispatching does not take place and is
delayed until execution exits from the interrupt handler after this system call has been issued.
[System call ID number]
None
[Parameter]
tskid (Task Identifier)
Task ID (TCB top address)
- 24 bits (large model)
- 16 bits (small model)
[Return parameter]
None.
Does not return to the interrupt handler that issued the system call.
[Assembler format]
[Large/Small model]
MOVG
BR
UUP, #tskid
!ret_wup
Unlike the other system calls, this system call is caused to branch by the jump instruction.
Caution
When this system call is issued from an interrupt handler, be sure to save the register values
before the interrupt occured to the stack. Save the register values to the stack in the sequence
shown in Fig. 4-2. If the interrupt handler occupies a register bank, select the register bank of
the task executed before the interrupt has occurred, and then call this system call.
[C format]
ret_wup (tskid);
char
*tskid;
Remark
Because this system call is only supported in version 2.00 or above of the C complier CC78K4, it
cannot be used with a C complier of a version lower than 2.00. With a C complier of a version 2.00 or
above, specify “#pragma
D
rtos_interrupt” (refer to
APPENDIX 2
).
相關(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