数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN2641 数据表(PDF) 21 Page - STMicroelectronics

部件名 AN2641
功能描述  Using the color LCD controller
PDF  37 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN2641 数据表(HTML) 21 Page - STMicroelectronics

Back Button AN2641 Datasheet HTML 17Page - STMicroelectronics AN2641 Datasheet HTML 18Page - STMicroelectronics AN2641 Datasheet HTML 19Page - STMicroelectronics AN2641 Datasheet HTML 20Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 21 / 37 page
background image
AN2641
Linux frame buffer
Doc ID 14027 Rev 1
21/37
Step-by-step procedure:
1.
The file 'arch/arm/mach-spear300/spear300.c' (or 'arch/arm/mach-
spearbasic/spearbasic.c') fills the clcd_panel structure with all the information about
CLCD.
Figure 7.
CLCD panel structure
The 'clcd_panel' structure has 4 important members: tim2 (corresponding to LCD-
Timing register 2), tim3 (corresponding to LCD-Timing register 3), cntl (corresponding
to LCD-Control register) and bpp (bits per pixel).
The 'mode' field (structure 'fb_videomode') of structure 'clcd_panel' has the kind of
information (panel resolution and margins) which needs to be filled in LCD-timing
register 0 and LCD-Timing register 1.
2.
Return the appropriate CLCD panel structure by filling in the following function:
Figure 8.
Return CLCD panel structure
3.
Note the usage of macros like CONFIG_FB_ARMCLCD_SHARP_LQ043T1DG01.
They are defined in 'drivers/video/Kconfig', the file which defines the choices in the
menuconfig.
#ifdef CONFIG_FB_ARMCLCD_SHARP_LQ043T1DG01
static struct clcd_panel sharp_LQ043T1DG01_in = {
.mode
= {
.name
= "Sharp LQ043T1DG01",
.refresh
= 0,
.xres
= 480,
.yres
= 272,
.pixclock
= 48000,
.left_margin = 2,
.right_margin = 2,
.upper_margin = 2,
.lower_margin = 2,
.hsync_len
= 41,
.vsync_len
= 11,
.sync
= 0, //FB_SYNC_HOR_HIGH_ACT |
.vmode
= FB_VMODE_NONINTERLACED,
},
.width
= -1,
.height
= -1,
.tim2
= TIM2_IOE | TIM2_CLKSEL | 3, //TIM2_CLKSEL| 4,
.cntl
= CNTL_LCDTFT | CNTL_BGR,
.bpp
= 32,
};
#endif
{
Struct clcd_panel *panel;
#ifdef CONFIG_FB_ARMCLCD_SHARP_LQ043T1DG01
Panel = &sharp_LQ043T1DG01_in;
#endif
Return panel;
}



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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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