前言
LCD的时序,之前也有介绍过(深入裸机),但是在介绍这些参数的时候是以感性的认识去理解的,而且多少有些错误,我们以内核文档中的描述为准(Documentation/fb/framebuffer.txt),在结合全志平台来重新正确的理解这些参数。
我们在看下文档中的解释:
The frame buffer device uses the following fields:
・left_margin: time from sync to picture
・right_margin: time from picture to sync
・upper_margin: time from sync to picture
・lower_margin: time from picture to sync
・hsync_len: length of horizontal sync
・vsync_len: length of vertical sync
我们结合全志的文档在看一下:
-
行相关
我们发现在:hfp + hbp区域数据是无效的
hfp是行扫描结束到hsync脉冲产生的时间
hbp是hsync脉冲产生到下一行有效数据开始的时间 -
场相关