| Motore di ricerca datesheet componenti elettronici |
|
AN2641 Scheda tecnica(PDF) 25 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2641 Scheda tecnica(HTML) 25 Page - STMicroelectronics |
|
25 / 37 page ![]() AN2641 Linux frame buffer Doc ID 14027 Rev 1 25/37 6.3.2 User level application sample The Figure 15 shows a simple user application that works over the frame buffer API. The program shows 3 color bands on the screen by operating on /dev/fb0, the frame buffer device node corresponding to the display. After opening the frame buffer device node the program gets the fixed screen and variable screen information. It first deciphers the visible resolutions and the bits per pixel in a hardware-independent manner using the frame buffer ioctl FBIOGET_VSCREENINFO. This interface command gleans the display's variable parameters by operating on the 'fb_var_screeninfo' structure. The command FB_ACTIVATE_FORCE (while put variable screen information) enables the CLCD. This line is important to activate the CLCD. The program then goes on to mmap() the frame buffer memory and writes color data on each constituent pixel bit. |
|
Link URL |
| Lei ha avuto il aiuto da alldatasheet? [ DONATE ] |
Di alldatasheet | Richest di pubblicita | contatti | Privacy Policy | Collegamento alla scheda tecnica | scambio Link | Ricerca produttore All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |