I think i am understanding the rule.
The rule which makes sense in all cases, for 18bpp, 24bpp, etc. LCD panel:
Use the memory organized byte, half-word, or word, as mapping to Data[0-x],
then give preference to use the High bit as it contains the most information.
So in 8bpp LCD display, the following should be used? only use Data[0-7] to (RRR GGG BB):
D7 to Red 2
D6 to Red 1
D5 to Red 0
D4 to Green 2
D3 to Green 1
D2 to Green 0
D1 to Blue 1
D0 to Blue 0
in 18bpp LCD display (RGB666) the following should be used ?use Data[0-23] to (RRRRRR GGGGGG BBBBBB):
D23 to Red 5
D22 to Red 4
D21 to Red 3
D20 to Red 2
D19 to Red 1
D18 to Red 0
D17 to NC (preference given to use Most Significant Bit)
D16 to NC (preference given to use Most Significant Bit)
D15 to Green 5
D14 to Green 4
D13 to Green 3
D12 to Green 2
D11 to Green 1
D10 to Green 0
D9 to NC (preference given to use Most Significant Bit)
D8 to NC (preference given to use Most Significant Bit)
D7 to Blue 5
D6 to Blue 4
D5 to Blue 3
D4 to Blue 2
D3 to Blue 1
D2 to Blue 0
D1 to NC (preference given to use Most Significant Bit)
D0 to NC (preference given to use Most Significant Bit)
Finally in 24bpp LCD display (RGB888) the following should be used ?use Data[0-23] to (RRRRRRRR GGGGGGGG BBBBBBBB):
D23 to Red 7
D22 to Red 6
D21 to Red 5
D20 to Red 4
D19 to Red 3
D18 to Red 2
D17 to Red 1
D16 to Red 0
D15 to Green 7
D14 to Green 6
D13 to Green 5
D12 to Green 4
D11 to Green 3
D10 to Green 2
D9 to Green 1
D8 to Green 0
D7 to Blue 7
D6 to Blue 6
D5 to Blue 5
D4 to Blue 4
D3 to Blue 3
D2 to Blue 2
D1 to Blue 1
D0 to Blue 0
Is this correct?