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

no-image

USBB17RX78K4-XXX

Manufacturer Part Number
USBB17RX78K4-XXX
Description
78K/4 series realtime OS
Manufacturer
NEC Electronics
Datasheet
4.4.1 ret_int (Return from Interrupt Handler)
[Function]
[Remarks]
[System call ID number]
[Parameter]
[Return parameter]
[Assembler format]
[C format]
Caution When this system call is issued from an interrupt handler, be sure to save the register values
Remark Because this system call is only supported in version 2.00 or above of the C complier CC78K4, it
Returns from an interrupt handler.
This system call is issued when execution is returned from an interrupt handler.
Even if “i
delayed until execution exits from the interrupt handler after this system call has been issued.
None
None
None.
Does not return to the interrupt handler that issued the system call.
[Large/Small model]
BR
Unlike the other system calls, this system call is caused to branch by the jump instruction.
ret_int ();
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.
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
´´´
!ret_int
_yyy” system call is issued in the interrupt handler, dispatching does not take place and is
CHAPTER 4
D
rtos_interrupt” (refer to APPENDIX 2).
RX78K/IV SYSTEM CALL LIST
59

Related parts for USBB17RX78K4-XXX