Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

AN2641 Scheda tecnica(PDF) 25 Page - STMicroelectronics

Il numero della parte AN2641
Spiegazioni elettronici  Using the color LCD controller
PDF  37 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  STMICROELECTRONICS [STMicroelectronics]
Homepage  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2641 Scheda tecnica(HTML) 25 Page - STMicroelectronics

Back Button AN2641 Datasheet HTML 21Page - STMicroelectronics AN2641 Datasheet HTML 22Page - STMicroelectronics AN2641 Datasheet HTML 23Page - STMicroelectronics AN2641 Datasheet HTML 24Page - STMicroelectronics AN2641 Datasheet HTML 25Page - STMicroelectronics AN2641 Datasheet HTML 26Page - STMicroelectronics AN2641 Datasheet HTML 27Page - STMicroelectronics AN2641 Datasheet HTML 28Page - STMicroelectronics AN2641 Datasheet HTML 29Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 25 / 37 page
background image
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.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37


Scheda tecnica Scarica

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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