⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rom_map.c

📁 NOVATEK公司的LCD_CONTROLLER源代码 液晶显示器驱动板源代码NT68521
💻 C
字号:
// 0x00 ... 0xc7 ==>h_sync,hv_pol,v_sync (total 50 mode)
// 0x100 ... 0x28f ==>lcd timing (total 50 mode)
// 0x290 ... 0x2ff ==>htotal refrance
// 0x300 ... 0x37f ==>analog DDC
// 0x380 ... 0x38f ==>digiatl DDC

#include "MyDef.H"

code unsigned char MCU_DataMap[]={
//H_SYNC(16bit),HV_Pol(4bit),V_SYNC(12bit)
	0x01,0x3b,0x11,0xf4,0x01,0x3b,0x12,0x57,	//0
	0x01,0x3b,0x12,0xbd,0x01,0x7b,0x13,0x53,
	0x01,0x3b,0x21,0xf4,0x01,0x3b,0x22,0x57,	//1
	0x01,0x3b,0x22,0xbd,0x01,0x79,0x23,0x48,
	0x01,0x3b,0x01,0xf4,0x01,0x3b,0x02,0x57,	//2
	0x01,0x5e,0x12,0x9b,0x01,0x7b,0x02,0xd8,
	0x01,0x77,0x02,0xee,0x01,0xb1,0x03,0x52,	//3
	0x01,0x60,0x32,0x33,0x01,0x7b,0x32,0x5b,
	0x01,0xe1,0x32,0xd2,0x01,0xd5,0x32,0xee,	//4
	0x02,0x19,0x33,0x52,0x01,0xf1,0x02,0xee,
	0x01,0xe3,0x02,0x58,0x02,0x35,0x02,0xbd,	//5
	0x02,0x41,0x02,0xd1,0x02,0x58,0x32,0xee,
	0x02,0xaf,0x33,0x52,0x02,0xa3,0x32,0xee,	//6
	0x02,0x58,0x32,0x58,0x03,0x5b,0x33,0x52,
	0x02,0x80,0x32,0x58,0x03,0x20,0x32,0xee,	//7
	0x03,0x90,0x33,0x52,0x00,0x9d,0x22,0x57,
	0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,	//8
	0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
	0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,	//9
	0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
	0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,	//a
	0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
	0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,	//b
	0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
	0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,	//c
	0x32,	//0xc8 = sRGB saturation
	0x32,	//0xc9 = sRGB Tint
	0x02,	//0xca = Sharpness(VGA)
	0xff,	//0xcb = 
	0x80,	//0xcc = Power Status
	0x00,	//0xcd = burn in mode
	0x00,	//0xce = osd rotation
	0x0a,	//0xcf = OSD timer
	0x32,	//0xd0 = brightness
	0x32,	//0xd1 = contrast
	UserModeSt-1,	//0xd2 = user mode start point
	0x00,	//0xd3 = Main/SAP
	0x32,	//0xd4 = volume
	0x00,	//0xd5 = Inverter
	0x32,	//0xd6 = video brightness
	0x32,	//0xd7 = video contrast
	0x40,	//0xd8 = video saturation
	0x32,	//0xd9 = video Tint
	0x04,	//0xda = Sharpness(video)
	0x00,   //0xdb = Auto Adjusment 0 = 0ff, 1 = 0n
	0x01,   //0xdc = Power saving flag 0 = no power saving, 1 = have power saving
	0x32,   //0xdd = OSD position x
	0x32,   //0xde = OSD position y
	0x07,   //0xdf = TV/CATV channel
	0x00,	//0xe0 = language
	0x01,	//0xe1 = color temperature select
	0x00,	//0xe2 = Channel system
	0x00,	//0xe3 = TV/CATV
	0xff,	//0xe4 =
	0xff,	//0xe5 =
	0xff,	//0xe6 =
	0xff,	//0xe7 =
	0xff,	//0xe8 =
	0xff,	//0xe9 =
	0xff,	//0xea = eeprom empty
	0xff,	//0xeb = eeprom empty
	0xff,	//0xec = F/W version
	0xff,	//0xed = F/W reversion
	0x64,	//0xee = r contrast k1
	0x64,	//0xef = g contrast k1
	0x64,	//0xf0 = b contrast k1
	0x64,	//0xf1 = r contrast k2
	0x5a,	//0xf2 = g contrast k2
	0x5a,	//0xf3 = b contrast k2
	0x64,	//0xf4 = r contrast k3
	0x60,	//0xf5 = g contrast k3
	0x60,	//0xf6 = b contrast k3
	0x60,	//0xf7 = r contrast k4
	0x60,	//0xf8 = g contrast k4
	0x64,	//0xf9 = b contrast k4
	0x38,	//0xfa = ADC r offset
	0x44,	//0xfb = ADC g offset
	0x3e,	//0xfc = ADC b offset
	0x72,	//0xfd = ADC r gain
	0x71,	//0xfe = ADC g gain
	0x70,	//0xff = ADC b gain

//	SharpV_BP    H_BP    H_Tatol  Reso Phase
	0x00,0x96,0x00,0x30,0x06,0x40,0x00,0x10,	//10
	0x00,0x62,0x00,0x30,0x06,0x40,0x00,0x10,	
	0x00,0x3c,0x00,0x30,0x06,0x40,0x00,0x10,	//11
	0x00,0x3c,0x00,0x60,0x06,0x80,0x00,0x10,
	0x00,0x7d,0x00,0x36,0x03,0x84,0x01,0x10,	//12
	0x00,0x49,0x00,0x36,0x03,0x84,0x01,0x10,
	0x00,0x23,0x00,0x36,0x03,0x84,0x01,0x10,	//13
	0x00,0x2A,0x00,0x6c,0x03,0xa8,0x01,0x10,
	0x00,0x55,0x00,0x30,0x06,0x40,0x02,0x10,	//14
	0x00,0x19,0x00,0x28,0x06,0x40,0x02,0x10,
	0x00,0x27,0x00,0x60,0x06,0xc0,0x02,0x10,	//15
	0x00,0x14,0x00,0x78,0x06,0x80,0x02,0x10,
	0x00,0x10,0x00,0x78,0x06,0x90,0x02,0x10,	//16
	0x00,0x19,0x00,0x50,0x06,0x80,0x02,0x10,
	0x00,0x16,0x00,0x80,0x04,0x00,0x03,0x10,	//17
	0x00,0x17,0x00,0x58,0x04,0x20,0x03,0x10,
	0x00,0x17,0x00,0x40,0x04,0x10,0x03,0x10,	//18
	0x00,0x15,0x00,0xa0,0x04,0x20,0x03,0x10,
	0x00,0x1b,0x00,0x98,0x04,0x18,0x03,0x10,	//19
	0x00,0x28,0x00,0xe2,0x04,0x80,0x04,0x10,
	0x00,0x1d,0x00,0xa0,0x05,0x40,0x05,0x10,	//1a
	0x00,0x1d,0x00,0x90,0x05,0x30,0x05,0x10,
	0x00,0x14,0x00,0x8a,0x05,0x50,0x05,0x10,	//1b
	0x00,0x1c,0x00,0xb0,0x05,0x20,0x05,0x10,
	0x00,0x24,0x00,0xd0,0x05,0x60,0x05,0x10,	//1c
	0x00,0x20,0x01,0x00,0x06,0x40,0x06,0x10,
	0x00,0x24,0x01,0x38,0x07,0x08,0x07,0x10,	//1d
	0x00,0x2f,0x00,0xe0,0x06,0xc0,0x07,0x10,
	0x00,0x26,0x00,0xf8,0x06,0x98,0x08,0x18,	//1e
	0x00,0x26,0x00,0xf8,0x06,0x98,0x08,0x10,
	0x00,0x2c,0x00,0xe0,0x06,0xc0,0x08,0x10,	//1f
	0x00,0xff,0x00,0xff,0xff,0xff,0xff,0x10,
	0x00,0xff,0x00,0xff,0xff,0xff,0xff,0x10,	//20
	0x00,0xff,0x00,0xff,0xff,0xff,0xff,0x10,
	0x00,0xff,0x00,0xff,0xff,0xff,0xff,0x10,	//21
	0x00,0xff,0x00,0xff,0xff,0xff,0xff,0x10,
	0x00,0xff,0x00,0xff,0xff,0xff,0xff,0x10,	//22
	0x00,0xff,0x00,0xff,0xff,0xff,0xff,0x10,
	0x00,0xff,0x00,0xff,0xff,0xff,0xff,0x10,	//23
	0x00,0xff,0x00,0xff,0xff,0xff,0xff,0x10,
	0x00,0xff,0x00,0xff,0xff,0xff,0xff,0x10,	//24
	0x00,0xff,0x00,0xff,0xff,0xff,0xff,0x10,
	0x00,0xff,0x00,0xff,0xff,0xff,0xff,0x10,	//25
	0x00,0xff,0x00,0xff,0xff,0xff,0xff,0x10,
	0x00,0xff,0x00,0xff,0xff,0xff,0xff,0x10,	//26
	0x00,0xff,0x00,0xff,0xff,0xff,0xff,0x10,
	0x00,0xff,0x00,0xff,0xff,0xff,0xff,0x10,	//27
	0x00,0xff,0x00,0xff,0xff,0xff,0xff,0x10,
};


⌨️ 快捷键说明

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