English
Language : 

CC78K4 Datasheet, PDF (353/523 Pages) NEC – CC78K4 Ver.2.30 or Later, C Compiler Language
CHAPTER 11 EXTENDED FUNCTIONS
CPU Control Instructions
#pragma HALT/STOP/BRK/NOP
• Describe as follows in uppercase letters in the C source in the same format as a function call.
(1) HALT();
(2) STOP();
(3) BRK();
(4) NOP();
RESTRICTIONS
• When this feature is used, HALT( ), STOP( ), BRK( ), and NOP( ) cannot be used as function names.
• Describe HALT, STOP, BRK, and NOP in uppercase letters. If they are described in lowercase letters, they
are handled as ordinary functions.
EXAMPLE
(C source)
#pragma HALT
#pragma STOP
#pragma BRK
#pragma NOP
void main()
{
HALT();
STOP();
BRK();
NOP();
}
User’s Manual U15556EJ1V0UM
353