English
Language : 

CC78K0S Datasheet, PDF (352/520 Pages) NEC – C Compiler Ver.1.30 or Later Language
CHAPTER 11 EXTENDED FUNCTIONS
Interrupt Functions
#pragma DI
#pragma EI
RESTRICTIONS
• When using these interrupt functions, DI and EI cannot be used as function names.
• DI and EI must be described in uppercase letters. If described in lowercase letters, they will be handled as
ordinary functions.
EXAMPLE
#ifdef _ _K0S_ _
#pragma DI
#pragma EI
#endif
(C source 1)
#pragma DI
#pragma EI
void main ( )
{
DI ( );
function body
EI ( );
}
(Output object of compiler)
_main:
di
preprocessing
function body
postprocessing
ei
ret
352
User’s Manual U14872EJ1V0UM