6 output data format, 7 endian conversion – Renesas SH7781 User Manual
Page 970
19. Display Unit (DU)
Rev.1.00 Jan. 10, 2008 Page 940 of 1658
REJ09B0261-0100
19.4.6
Output Data Format
When outputting digital RGB data from the display unit (DU), the display data format is expanded
into the RGB666 format before output. The format at the time of output is as indicated in the
following table.
Table 19.8 Output Data Format
Pin
Output
Data
DR5 DR4 DR3 DR2 DR1 DR0 DG5 DG4 DG3 DG2 DG1 DG0 DG5 DG4 DG3 DG2 DG1 DG0
8 bits/
pixel
R (6 bits)
G (6 bits)
B (6 bits)
16 bits/
pixel
R (5 bits)
0
G (6 bits)
B (5 bits)
0
ARGB
R (5 bits)
0
G (5 bits)
0
B (5 bits)
0
YC
→
RGB
R (upper 6 bits of the 8 bits) G (upper 6 bits of the 8 bits) B (upper 6 bits of the 8 bits)
19.4.7
Endian Conversion
The display unit (DU) can perform big-endian/little-endian conversion according to the setting of
the DSEC bit in DSYSR.
The internal data format in the display unit (DU) is fixed at little-endian; by setting the DSEC bit
in DSYSR to 1, display data arranged in big-endian format in memory is converted into little-
endian format and read.
The units for endian conversion (byte/word) is determined by the setting of the PnDDF bit in
PnMR.
Table 19.9 Endian Conversion
PnMR/PnDDF Data
Format Units for Endian Conversion
00 8
bits/pixel
Byte
01 16
bits/pixel
Word
10 ARGB
Word
11 YC Byte