Datasheet

1052
SAM9M10 [DATASHEET]
6355FATARM12-Mar-13
ister. It also adapts the memory-ordering format. Both big-endian and little-endian formats are supported. They are
configured in the MEMOR field of the LCDCON2 register.
The organization of the pixel data in the memory depends on the configuration and is shown in Table 45-5 and
Table 45-7.
Note: For a color depth of 24 bits per pixel there are two different formats supported: packed and unpacked. The packed for-
mat needs less memory but has some limitations when working in 2D addressing mode (See “2D Memory Addressing”
on page 1070.).
Table 45-6. Little Endian Memory Organization
Mem Addr 0x3 0x2 0x1 0x0
Bit313029282726252423222120191817161514131211109876543210
Pixel 1bpp 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 876543210
Pixel 2bpp 15 14 13 12 11 10 9 8 76543210
Pixel 4bpp 7 6 5 4 3210
Pixel 8bpp 3 2 1 0
Pixel
16bpp
10
Pixel
24bpp
packed
10
Pixel
24bpp
packed
21
Pixel
24bpp
packed
32
Pixel
24bpp
unpacked
not used 0
Table 45-7. Big Endian Memory Organization
Mem Addr 0x3 0x2 0x1 0x0
Bit313029282726252423222120191817161514131211109876543210
Pixel 1bpp 0 1 2 3 4 5 678910111213141516171819202122232425262728293031
Pixel 2bpp 0 123456789101112131415
Pixel 4bpp 0 1 2 3 4567
Pixel 8bpp 0 1 2 3
Pixel
16bpp
01
Pixel
24bpp
packed
01