本文整理汇总了C++中dsi_set_cmdq_V2函数的典型用法代码示例。如果您正苦于以下问题:C++ dsi_set_cmdq_V2函数的具体用法?C++ dsi_set_cmdq_V2怎么用?C++ dsi_set_cmdq_V2使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了dsi_set_cmdq_V2函数的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: push_table
static void push_table(struct LCM_setting_table *table, unsigned int count,
unsigned char force_update)
{
unsigned int i;
for (i = 0; i < count; i++) {
unsigned cmd;
cmd = table[i].cmd;
switch (cmd) {
case REGFLAG_DELAY:
MDELAY(table[i].count);
break;
case REGFLAG_END_OF_TABLE:
break;
default:
dsi_set_cmdq_V2(cmd, table[i].count,
table[i].para_list, force_update);
}
}
}
开发者ID:Lesozav25,项目名称:ZOPO-TSN,代码行数:26,代码来源:rm68180_boe60_ykl.c
示例2: push_table
static void push_table(struct LCM_setting_table *table, unsigned int count, unsigned char force_update)
{
unsigned int i;
for (i = 0; i < count; i++) {
unsigned cmd;
cmd = table[i].cmd;
switch (cmd) {
case REGFLAG_DELAY:
MDELAY(table[i].count);
break;
case REGFLAG_END_OF_TABLE:
break;
default:
dsi_set_cmdq_V2(cmd, table[i].count, table[i].para_list, force_update);
if (cmd != 0xFF && cmd != 0x2C && cmd != 0x3C) {
//#if defined(BUILD_UBOOT)
// printf("[DISP] - uboot - REG_R(0x%x) = 0x%x. \n", cmd, table[i].para_list[0]);
//#endif
while (read_reg(cmd) != table[i].para_list[0]);
}
}
}
}
开发者ID:kim-ryuzaki,项目名称:android_mediatek_muse72,代码行数:28,代码来源:nt35510_dsi_cmd_6572.c
示例3: push_table
static int push_table(unsigned char table[])
{
unsigned int i, bExit = 0;
unsigned char *p = (unsigned char *)table;
LCM_SETTING_ITEM *pSetting_item;
while(!bExit) {
pSetting_item = (LCM_SETTING_ITEM *)p;
switch (pSetting_item->cmd) {
case REGFLAG_DELAY :
MDELAY(pSetting_item->count);
p += 2;
break;
case REGFLAG_END_OF_TABLE :
p += 2;
bExit = 1;
break;
default:
dsi_set_cmdq_V2(pSetting_item->cmd,
pSetting_item->count, pSetting_item->params, 1);
MDELAY(2);
p += pSetting_item->count + 2;
break;
}
}
return p - table; //return the size of settings array.
}
开发者ID:4Fwolf,项目名称:lcm_drivers,代码行数:31,代码来源:otm9608_qhd_dsi_cmd.c
示例4: push_table
static void push_table(struct LCM_setting_table *table, unsigned int count, unsigned char force_update)
{ //функция загрузки данных в контроллер
unsigned int i;
for(i = 0; i < count; i++) //пересылает пакеты по 1-у, пока они не закончатся
{
unsigned cmd;
cmd = table[i].cmd;
switch (cmd)
{
case REGFLAG_DELAY :
MDELAY(table[i].count);
break;
case REGFLAG_END_OF_TABLE :
break;
default:
dsi_set_cmdq_V2(cmd, table[i].count, table[i].para_list, force_update);
}
}
}
开发者ID:JustAndroids,项目名称:android_kernel_hs_zeras,代码行数:28,代码来源:otm9605a_dsi_vdo_lg.c
示例5: lcm_esd_recover
static unsigned int lcm_esd_recover(void)
{
unsigned char para = 0;
SET_RESET_PIN(1);
SET_RESET_PIN(0);
MDELAY(1);
SET_RESET_PIN(1);
MDELAY(120);
push_table(lcm_initialization_setting, sizeof(lcm_initialization_setting) / sizeof(struct LCM_setting_table), 1);
MDELAY(10);
push_table(lcm_sleep_out_setting, sizeof(lcm_sleep_out_setting) / sizeof(struct LCM_setting_table), 1);
MDELAY(10);
dsi_set_cmdq_V2(0x35, 1, ¶, 1); ///enable TE
MDELAY(10);
return TRUE;
}
开发者ID:johnnyslt,项目名称:fxos-for-v967s,代码行数:18,代码来源:nt35590_hd720_dsi_cmd_cmi.c
注:本文中的dsi_set_cmdq_V2函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论