📄 ltv350qv_rgb_dataset.h
字号:
#ifndef __LTV350QV_RGB_DATASET_H__
#define __LTV350QV_RGB_DATASET_H__
#if __cplusplus
extern "C"
{
#endif
const unsigned int LTV350QV_RGB_initialize[][3] =
{
#if 1 // Change as Module spec saids..
///////////////////////////////////////////////////////////////////
// Power On Reset State
///////////////////////////////////////////////////////////////////
// delay about 5ms
{0x09, 0x0000, 10},
// delay about 10ms
///////////////////////////////////////////////////////////////////
// Power Setting Function 1
//////////////////////////////////////////////////////////////////
{0x09, 0x4000, 0},
{0x0a, 0x2000, 0},
///////////////////////////////////////////////////////////////////
// Power Setting Function 2
//////////////////////////////////////////////////////////////////
{0x09, 0x4055, 50},
// delay about 50ms
///////////////////////////////////////////////////////////////////
// Instruction Setting
///////////////////////////////////////////////////////////////////
{0x01, 0x409d, 0}, // Sync Mode
{0x02, 0x0204, 0}, // Data Format RGB
{0x03, 0x0100, 0},
{0x04, 0x3000, 0},
{0x05, 0x4003, 0},
{0x06, 0x0009, 0}, //VBPD (7 < VBPD < 1024)
{0x07, 0x000f, 0}, //HBPD (3 < HBPD < 512)
{0x08, 0x0c00, 0},
{0x10, 0x0103, 0},
{0x11, 0x0301, 0},
{0x12, 0x1f0f, 0},
{0x13, 0x1f0f, 0},
{0x14, 0x0707, 0},
{0x15, 0x0307, 0},
{0x16, 0x0707, 0},
{0x17, 0x0000, 0},
{0x18, 0x0004, 0},
{0x19, 0x0000, 100},
// delay about 2 frames
// RGB I/F output start!!
///////////////////////////////////////////////////////////////////
// Display On Sequence
///////////////////////////////////////////////////////////////////
{0x09, 0x4a55, 0},
{0x05, 0x5003, 0},
{0, 0, 0}
#else // from Application Team Code
///////////////////////////////////////////////////////////////////
// Init_Lcd_Function
//////////////////////////////////////////////////////////////////
{0x01, 0x001d, 0},
{0x02, 0x0000, 0},
{0x03, 0x0000, 0},
{0x04, 0x0000, 0},
{0x05, 0x50a3, 0},
{0x06, 0x0000, 0},
{0x07, 0x0000, 0},
{0x08, 0x0000, 0},
{0x09, 0x0000, 0},
{0x0a, 0x0000, 0},
{0x10, 0x0000, 0},
{0x11, 0x0000, 0},
{0x12, 0x0000, 0},
{0x13, 0x0000, 0},
{0x14, 0x0000, 0},
{0x15, 0x0000, 0},
{0x16, 0x0000, 0},
{0x17, 0x0000, 0},
{0x18, 0x0000, 0},
{0x19, 0x0000, 10},
// delay about 10ms
///////////////////////////////////////////////////////////////////
// Power Setting Function 1
//////////////////////////////////////////////////////////////////
{0x09, 0x4055, 0},
{0x0a, 0x0000, 10},
// delay about 10ms
/////////////////////////////////////////////////////////////////////
// Power Setting 2
/////////////////////////////////////////////////////////////////////
{0x0a, 0x2000, 50},
// delay about 50ms
///////////////////////////////////////////////////////////////////
// Instruction Setting
///////////////////////////////////////////////////////////////////
{0x01, 0x409d, 0},
{0x02, 0x0204, 0},
{0x03, 0x2100, 0},
{0x04, 0x1000, 0},
{0x05, 0x5003, 0},
{0x06, 0x0009, 0}, //vbp
{0x07, 0x000f, 0}, //hbp
{0x08, 0x0800, 0},
{0x10, 0x0000, 0},
{0x11, 0x0000, 0},
{0x12, 0x000f, 0},
{0x13, 0x1f00, 0},
{0x14, 0x0000, 0},
{0x15, 0x0000, 0},
{0x16, 0x0000, 0},
{0x17, 0x0000, 0},
{0x18, 0x0000, 0},
{0x19, 0x0000, 100},
// delay about 2 frames
// RGB I/F output start!!
///////////////////////////////////////////////////////////////////
// Display On Sequence
///////////////////////////////////////////////////////////////////
{0x09, 0x4a55, 0},
{0x0a, 0x2000, 0},
{0, 0, 0}
#endif
};
const unsigned int LTV350QV_RGB_power_off[][3] =
{
///////////////////////////////////////////////////////////////////
// Normal Display State
//////////////////////////////////////////////////////////////////
// delay about 2 frames
///////////////////////////////////////////////////////////////////
// Display Off Sequence
//////////////////////////////////////////////////////////////////
{0x09, 0x4055, 0},
{0x05, 0x4003, 0},
///////////////////////////////////////////////////////////////////
// Power Down Setting 1
//////////////////////////////////////////////////////////////////
{0x0a, 0x0000, 1},
// dealy about 1ms
///////////////////////////////////////////////////////////////////
// Power Down Setting 2
//////////////////////////////////////////////////////////////////
{0x09, 0x4000, 0},
///////////////////////////////////////////////////////////////////
// Power Off State
//////////////////////////////////////////////////////////////////
{0, 0, 0}
};
#if __cplusplus
}
#endif
#endif // __LTV350QV_RGB_DATASET_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -