English
Language : 

CC78K4 Datasheet, PDF (12/523 Pages) NEC – CC78K4 Ver.2.30 or Later, C Compiler Language
CHAPTER 7 STRUCTURES AND UNIONS .................................................................................... 125
7.1 Structures ........................................................................................................................... 126
(1) Declaration of structure and structure variable........................................................................... 126
(2) Structure declaration list ............................................................................................................. 127
(3) Arrays and pointers .................................................................................................................... 128
(4) How to refer to structure members ............................................................................................. 129
7.2 Unions ................................................................................................................................. 130
(1) Declaration of union and union variable ..................................................................................... 130
(2) Union declaration list .................................................................................................................. 130
(3) Union arrays and pointers .......................................................................................................... 131
(4) How to refer to union members .................................................................................................. 132
CHAPTER 8 EXTERNAL DEFINITIONS ........................................................................................ 133
8.1 Function Definition............................................................................................................. 134
8.2 External Object Definitions ............................................................................................... 136
CHAPTER 9 PREPROCESSING DIRECTIVES (COMPILER DIRECTIVES) .............................. 137
9.1 Conditional Translation Directives ................................................................................... 137
(1) #if directive ................................................................................................................................. 138
(2) #elif directive............................................................................................................................... 139
(3) #ifdef directive ............................................................................................................................ 140
(4) #ifndef directive .......................................................................................................................... 141
(5) #else directive............................................................................................................................. 142
(6) #endif directive ........................................................................................................................... 143
9.2 Source File Inclusion Directive ......................................................................................... 144
(1) #include < > ............................................................................................................................... 145
(2) #include “ ”................................................................................................................................. 146
(3) #include preprocessing token string ........................................................................................... 147
9.3 Macro Replacement Directives ......................................................................................... 148
(1) Actual argument replacement..................................................................................................... 148
(2) # operator ................................................................................................................................... 148
(3) ## operator ................................................................................................................................. 148
(4) Re-scanning and further replacement ........................................................................................ 149
(5) Scope of macro definition ........................................................................................................... 149
(6) #define directive ......................................................................................................................... 150
(7) #define( ) directive ..................................................................................................................... 151
(8) #undef directive .......................................................................................................................... 152
9.4 Line Control Directive ........................................................................................................ 153
(1) To change the line number ......................................................................................................... 153
(2) To change the line number and the file name ............................................................................ 153
(3) To change using preprocessing token string.............................................................................. 153
9.5 #error Preprocessing Directive......................................................................................... 154
9.6 #pragma Directives ............................................................................................................ 155
9.7 Null Directives .................................................................................................................... 155
9.8 Compiler-Defined Macro Names ....................................................................................... 156
12
User’s Manual U15556EJ1V0UM