USBB17RX78K4-XXX NEC Electronics, USBB17RX78K4-XXX Datasheet - Page 41

no-image

USBB17RX78K4-XXX

Manufacturer Part Number
USBB17RX78K4-XXX
Description
78K/4 series realtime OS
Manufacturer
NEC Electronics
Datasheet
4.1.2 ext_tsk (Exit Task)
32
[Function]
[Remarks]
[System call ID number]
[Parameter]
[Return parameter]
[Assembler format]
[C format]
Normally terminates the task itself and places the task in the DORMANT state from the RUN state.
This system call normally terminates the task that issues this system call itself.
As a result, the task enters the DORMANT state from the RUN state.
To restart by the “sta_tsk” system call the task that has entered the DORMANT state by issuing the “ext_tsk”
system call, the start address and stack pointer are returned to the initial values. The wakeup request counter
is cleared to 0.
The task does not automatically release the resource it has acquired before the “ext_tsk” system call is
issued. Release the resources before issuing this system call.
ext_tsk = 1
None
None (Control is not returned to the task that has issued this system call.)
[Large/Small model]
MOV
CALLT
ext_tsk ();
bnk0_b, #1
[40H]
CHAPTER 4
RX78K/IV SYSTEM CALL LIST

Related parts for USBB17RX78K4-XXX