English
Language : 

CC78K0S Datasheet, PDF (344/520 Pages) NEC – C Compiler Ver.1.30 or Later Language
CHAPTER 11 EXTENDED FUNCTIONS
Interrupt Functions
#pragma vect
#pragma interrupt
EFFECT
• Interrupt functions can be described at the C source level.
• It is not necessary to be aware of the addresses of the vector table to recognize an interrupt request name.
USAGE
• Specify an interrupt request name, a function name, stack switching, registers, and whether the saddr area is
saved/restored, with the #pragma directive. Describe the #pragma directive at the beginning of the C source
(for the interrupt request names, refer to the user’s manual of the target device used).
• When describing #pragma PC (processor type), describe this #pragma directive after that. The following
items can be described before this #pragma directive.
• Comment statements
• Preprocessing directives that neither define nor reference variables or functions
#pragma∆vect (or interrupt)∆interrupt request name∆function name∆
[stack change specification] ∆
stack use specification
No change specification
Shared area save/restore specification
Save/restore target
344
User’s Manual U14872EJ1V0UM