Electronic Components Datasheet Search
  English  ▼

X  

78IV Datasheet(PDF) 55 Page - NEC

Part # 78IV
Description  CC78K4 Ver.2.30 or Later, C Compiler Language
PDF  523 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NEC [NEC]
Direct Link  http://www.nec.com/
Logo NEC - NEC

78IV Datasheet(HTML) 55 Page - NEC

Back Button 78IV Datasheet HTML 51Page - NEC 78IV Datasheet HTML 52Page - NEC 78IV Datasheet HTML 53Page - NEC 78IV Datasheet HTML 54Page - NEC 78IV Datasheet HTML 55Page - NEC 78IV Datasheet HTML 56Page - NEC 78IV Datasheet HTML 57Page - NEC 78IV Datasheet HTML 58Page - NEC 78IV Datasheet HTML 59Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 55 / 523 page
background image
CHAPTER 3 DECLARATION OF TYPES AND STORAGE CLASSES
User’s Manual U15556EJ1V0UM
55
3.2.1 Structure specifier and union specifier
Both the structure specifier and union specifier indicate a collection of named members (objects). These member
objects can have different types from one another.
(1) Structure specifier
The structure specifier declares a collection of two or more different types of variables as one object. Each type
of object is called a member and can be given a name. For members, continuous areas are reserved in the
order of their declaration.
Align data is inserted by specifying the -RP option.
A structure is declared as follows. The declaration will not yet allocate memory since it does not have a list of
structure variables.
For the definition of the structure variables, refer to CHAPTER 7 STRUCTURES AND
UNIONS.
struct
identifier {member declaration list};
Example of structure declaration
struct tnode {
int count;
struct tnode *left, *right;
};
(2) Union specifier
The union specifier declares a collection of two or more different types of variables as one object. Each type of
object is called a member and can be given a name. The members of a union overlap each other in area,
namely, they share the same area.
A union is declared as follows. The declaration will not yet allocate memory since it does not have a list of union
variables. For the definition of the union variables, refer to CHAPTER 7 STRUCTURES AND UNIONS.
union
identifier {member declaration list};
Example of union declaration
union
u_tag
{
int var1 ;
long var2 ;
};
Each member object can be any type other than the incomplete types or function types. A member can be
declared with the number of bits specified. A member with the number of bits specified is called a bit field.
In this compiler, extended functions related to bit field declaration have been added. For details, refer to 11.5
(19) Bit field declaration.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com