分类:Directory
目录
Main sections
For system administrators
再来解决最后一个问题:每个像素再FrameBuffer中,占据多少位BPP(Bits Per Pixels)? 前面的LCD引脚功能图里,R0-R7、G0-G7、B0-B7,每个像素是占据3*8=24位的,即硬件上LCD的BPP是确定的。 虽然LCD上的引脚是固定的,但我们使用的时候,可以根据实际情况进行取舍,比如我们的JZ2440使用的是16BPP,因此LCD只需要R0-R4、G0-G5、B0-B4与SOC相连,5+6+6=16BPP,每个像素就只占据16位数据。
我们写程序的思路如下: 1. 查看LCD芯片手册,查看相关的时间参数、分辨率、引脚极性; 2. 根据以上信息设置LCD控制器寄存器,让其发出正确信号; 3. 在内存里面分配一个FrameBuffer,在里面用若干位表示一个像素,再把首地址告诉LCD控制器;
之后LCD控制器就能周而复始取出FrameBuffer里面的像素数据,配合其它控制信号,发送给电子枪,电子枪再让在LCD上显示出来。以后我们想显示图像,只需要编写程序向FrameBuffer填入相应数据即可,硬件会自动的完成显示操作。
<translate> More on <tvar|hub>模板:Ll</>.</translate>
| style="width:50%; vertical-align:top; border:1px solid #aaa; padding:.5em 1.5em" |
<translate>
For developers
</translate>
- <translate> Architecture</translate>
- <translate> An overview of the key parts of MediaWiki's source code.</translate>
- 模板:Ll | 模板:Ll | <translate> Doxygen-generated documentation</translate>
- 模板:Ll
- <translate> Details about the database architecture used by MediaWiki.</translate>
- 模板:Ll | 模板:Ll | 模板:Ll
- 模板:Ll
- <translate> An overview of the ways to create a new MediaWiki extension.</translate>
- 模板:Ll | 模板:Ll | 模板:Ll | 模板:Ll | 模板:Ll
- <translate> Web access</translate>
- <translate> Details about query string parameters that can be passed to MediaWiki access scripts.</translate>
- 模板:Ll | 模板:Ll
<translate> More on <tvar|hub>模板:Ll</>.</translate> |} <translate>
Others
</translate>
- 模板:Ll
- <translate> Frequently asked questions about MediaWiki.</translate>
<translate>
Browsing the manual
There are multiple ways to browse through the documentation.</translate> <translate> Readers having trouble finding a particular topic in the section above may find the following ways of browsing to be helpful. </translate>
- Special:Allpages/Manual: - <translate> An automatically generated list of all pages in the Manual: namespace.</translate>
- Category:Manual - <translate> the top-level Manual category</translate>
<translate>
Improving the manual
- There are still a lot of holes in this manual!</translate> <translate> See the [[<tvar|todo>Special:MyLanguage/Manual:Contents/To do</>|'to do' page]] for details.</translate>
<translate>
- There is still content on <tvar|url>https://meta.wikimedia.org</> which may need to be migrated.</translate> <translate> If you can't find information on a particular issue in this documentation, please visit <tvar|help>meta:Help:Contents</>.</translate>
<translate>
- Project:Manual is a place to discuss and co-ordinate the development of the Manual: namespace.</translate>
<translate>
- See also <tvar|issues>Project:Current issues</>.
MediaWiki Virtual Library
本分类目前不含有任何页面或媒体文件。