sa1100fb.txt

来自「嵌入式系统设计与实例开发实验教材二源码 多线程应用程序设计 串行端口程序设计」· 文本 代码 · 共 40 行

TXT
40
字号
[This file is cloned from VesaFB/matroxfb]What is sa1100fb?=================This is a driver for a graphic framebuffer for the SA-1100 LCDcontroller.Configuration==============For most common passive displays, giving the optionvideo=sa1100:bpp:<value>,lccr0:<value>,lccr1:<value>,lccr2:<value>,lccr3:<value>on the kernel command line should be enough to configure thecontroller. The bits per pixel (bpp) value should be 4, 8, 12, or16. LCCR values are display-specific and should be computed asdocumented in the SA-1100 Developer's Manual, Section 11.7. Dual-paneldisplays are supported as long as the SDS bit is set in LCCR0; GPIO<9:2>are used for the lower panel.For active displays or displays requiring additional configuration(controlling backlights, powering on the LCD, etc.), the command lineoptions may not be enough to configure the display. Adding sections tosa1100fb_init_fbinfo(), sa1100fb_activate_var(),sa1100fb_disable_lcd_controller(), and sa1100fb_enable_lcd_controller()will probably be necessary.Accepted options:bpp:<value>	Configure for <value> bits per pixellccr0:<value>	Configure LCD control register 0 (11.7.3)lccr1:<value>	Configure LCD control register 1 (11.7.4)lccr2:<value>	Configure LCD control register 2 (11.7.5)lccr3:<value>	Configure LCD control register 3 (11.7.6)--Mark Huang <mhuang@livetoy.com>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?