|
CC78K4 Datasheet, PDF (409/523 Pages) NEC – CC78K4 Ver.2.30 or Later, C Compiler Language | |||
|
◁ |
CHAPTER 11 EXTENDED FUNCTIONS
Interrupt Handler Qualifier for RTOS
__rtos_interrupt
RESTRICTIONS
callt/callf/noauto/norec/_ _callt/_ _callf/_ _leaf/ _ _interrupt/_ _interrupt_brk/ _ _ pascal/_ _ flash cannot be
specified for the interrupt handler for RTOS.
⢠The RTOS system call calling function names ret_int/ret_wup cannot be used for the function names.
CAUTIONS
⢠Vector addresses cannot be set only by declaring this qualifier.
The setting of the vector address must be performed separately by the #pragma directive, assembler
description, etc.
⢠When the interrupt handler for RTOS is defined in the same file as the one in which the #pragma
rtos_interrupt ··· is specified, the function name specified with #pragma rtos_interrupt is judged as an
interrupt handler for RTOS even if this qualifier is not described.
COMPATIBILITY
From another C compiler to this C compiler
⢠Modification is not required if the compiler does not support interrupt handler for RTOS.
⢠When changing to interrupt handler for RTOS, modify the program according to the method above.
From this C compiler to another C compiler
⢠Changes can be made by #define (for details, refer to 11.6 Modifications of C Source). By these
changes, interrupt handler qualifiers for RTOS are handled as ordinary variables.
⢠When using as an interrupt handler for RTOS, modification is required according to the specification of
each compiler.
Userâs Manual U15556EJ1V0UM
409
|
▷ |