HengFeng

--博观而约取,厚积而薄发
  博客园  :: 首页  :: 新随笔  :: 联系 :: 管理

【原创】Display interface types supported

Posted on 2012-01-04 17:42  hengfeng  阅读(489)  评论(0编辑  收藏  举报

下面是一款LCD支持的接口类型:

MPU mode
1. MIPI-DBI Type B (80 System) interface (16- / 18- / 24-bit bus) ----- DBI_B (Z80 ?)
2. MIPI-DBI Type A (68 System) interface (16- / 18- bit bus)   --------- DBI_A (M68 ?)
3. MIPI-DBI Type C (Serial data transfer interface) interface  ------ DBI_C

MIPI-DSI (Display Serial Interface) interface
1. Support DSI Version 1.01
2. Support D-PHY version 0.90


MDDI (Mobile Display Digital Interface) interface
1. Support VESA Mobile Display Digital Interface Standard Version 1.2


RGB mode
1. 16 bit/pixel R(5), G(6), B(5)
2. 18 bit/pixel R(6), G(6), B(6)
3. 24 bit/pixel R(8), G(8), B(8)

 

----------------------------------

RGB565 几种颜色的对应值

 LCD_COLOR_BLACK = 0x0000, /* /< lcd black pixel */
 LCD_COLOR_GREEN = 0x07E0, /* /< lcd green pixel */
 LCD_COLOR_RED = 0xF800, /* /< lcd red pixel */
 LCD_COLOR_BLUE = 0x001F, /* /< lcd blue pixel */
 LCD_COLOR_YELLOW = 0xFFE0, /* /< lcd yellow pixel */
 LCD_COLOR_CYAN = 0xF81F, /* /< lcd cyan pixel */
 LCD_COLOR_DDD = 0x07FF, /* /< lcd ddd pixel */
 LCD_COLOR_WHITE = 0xFFFF /* /< lcd white pixel */