Description
Source
Call Graph
Start Line: 526
void TestLCD_BGR555_240_320_16bpp(unsigned char *pBufferLCD)
{
unsigned int i;
unsigned int j;
j=0;
while( j<(240*2*320) ) {
// 16 bpp
i=0;
while(i<160) { // Red in BGR
pBufferLCD[j+i] = 0x1F;
i++;
pBufferLCD[j+i] = 0x80; // Intensity bit set to 1
i++;
}
j+=160;
i=0;
while(i<160) { // Green in BGR555
pBufferLCD[j+i] = 0xE0;
i++;
pBufferLCD[j+i] = 0x83; // Intensity bit set to 1
i++;
}
j+=160;
i=0;
while(i<160) { // Blue in BGR555
pBufferLCD[j+i] = 0x00;
i++;
pBufferLCD[j+i] = 0xFC; // Intensity bit set to 1
i++;
}
j+=160;
}
}