Os motores de busca de Datasheet de Componentes eletrônicos
  Portuguese  ▼
ALLDATASHEETPT.COM

X  

AN2641 Folha de dados(PDF) 25 Page - STMicroelectronics

Nome de Peças AN2641
Descrição Electrónicos  Using the color LCD controller
PDF  37 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrônico  STMICROELECTRONICS [STMicroelectronics]
Página de início  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2641 Folha de dados(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


Folha de dados Download

Go To PDF Page


Ligação URL



ALLDATASHEET é útil para você?  [ DONATE ] 

Sobre Alldatasheet   |   Publicidade   |   Contato conosco   |   Privacy Policy   |   Link para a ficha técnica    |   roca de Link   |   Lista de Fabricantes
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