English
Language : 

CC78K4 Datasheet, PDF (371/523 Pages) NEC – CC78K4 Ver.2.30 or Later, C Compiler Language
CHAPTER 11 EXTENDED FUNCTIONS
Bit Field Declaration
Bit field declaration
When the -RA option or -RP option is specified, the bit field is made 2-byte alignment. The location of the bit
field above is as follows.
Figure 11-2. Bit Allocation by Bit Field Declaration (Example 2) (2/2)
Bit allocation from MSB
with -RB option specified
Bit allocation from LSB
without -RB option specified
MSB
b
c Vacant
LSB
a
MSB
Vacant c
b
LSB
a
1
0
1
0
e
d
Vacant
Vacant
Vacant
d
3
2
3
2
e
e
e
e
5
4
5
4
f
g
g
Vacant
Vacant
g
g
f
7
6
7
6
Vacant
h
Vacant
Vacant
Vacant
h
9
8
9
8
i
Vacant
Vacant
Vacant
Vacant
i
11
10
11
10
User’s Manual U15556EJ1V0UM
371