English
Language : 

CC78K0S Datasheet, PDF (366/520 Pages) NEC – C Compiler Ver.1.30 or Later Language
CHAPTER 11 EXTENDED FUNCTIONS
Bit Field Declaration
Bit field declaration
f
f g Vacant
Vacant g f
f
9
8
9
8
h
i
i
Vacant
Vacant
i
i
h
11
10
11
10
f and g, and h and i are each allocated to separate word units.
When the -RC option is specified (to pack the structure members), the above bit field becomes as follows.
MSB
c
Vacant
LSB
a
MSB
c
b
LSB
a
1
0
1
0
Vacant
b
c
Vacant
d
Vacant
c
3
2
3
2
e
Vacant
d
Vacant
Vacant
e
Vacant
5
4
5
4
f
f g Vacant
Vacant g f
f
7
6
7
6
h
i
i
Vacant
Vacant
i
i
h
9
8
9
8
Remark The numbers below the allocation diagrams indicate the byte offset values from the beginning of the
structure.
366
User’s Manual U14872EJ1V0UM