找回密码
 注册
搜索
查看: 4366|回复: 2

[讨论] MTK LCM 驱动 的 LCM_PARAMS->LCM_DSI_PARAMS 结构体各个成员参数的意义???

[复制链接]
发表于 2014-12-19 14:29:52 | 显示全部楼层 |阅读模式
MTK LCM 驱动 的 LCM_PARAMS->LCM_DSI_PARAMS 结构体各个成员参数的意义是什么???

typedef struct
{
    LCM_TYPE type;
    LCM_CTRL ctrl;  //! how to control LCM registers
    LCM_INTERFACE_ID lcm_if;

    /* common parameters */
    unsigned int width;
    unsigned int height;
    unsigned int io_select_mode; //DBI or DPI should select IO mode according to chip spec

    /* particular parameters */
    LCM_DBI_PARAMS dbi;
    LCM_DPI_PARAMS dpi;
    LCM_DSI_PARAMS dsi;
    unsigned int physical_width;
    unsigned int physical_height;
} LCM_PARAMS;

就是下面结构体成员的 含义。 哪位 工程师 能够 赐教一番, 不胜感激。
typedef struct
{
    LCM_DSI_MODE_CON         mode;
    unsigned int                DSI_WMEM_CONTI;
    unsigned int                DSI_RMEM_CONTI;       
    unsigned int                VC_NUM;
   
    LCM_LANE_NUM                LANE_NUM;
    LCM_DSI_DATA_FORMAT        data_format;

    /* intermediate buffers parameters */
    unsigned int                 intermediat_buffer_num; // 2..3
   
    LCM_PS_TYPE                        PS;       
    unsigned int                word_count;
   
    unsigned int                packet_size;
   
    unsigned int                vertical_sync_active;
    unsigned int                vertical_backporch;
    unsigned int                vertical_frontporch;
    unsigned int                vertical_active_line;
   
    unsigned int                horizontal_sync_active;
    unsigned int                horizontal_backporch;
    unsigned int                horizontal_frontporch;
    unsigned int                horizontal_blanking_pixel;
    unsigned int                horizontal_active_pixel;
    unsigned int                horizontal_bllp;
   
    unsigned int                line_byte;
    unsigned int                horizontal_sync_active_byte;
    unsigned int                horizontal_backporch_byte;
    unsigned int                horizontal_frontporch_byte;
    unsigned int                rgb_byte;
   
    unsigned int                horizontal_sync_active_word_count;       
    unsigned int                horizontal_backporch_word_count;
    unsigned int                horizontal_frontporch_word_count;
   
    unsigned char                HS_TRAIL;
    unsigned char                HS_ZERO;
    unsigned char                HS_PRPR;
    unsigned char                LPX;
   
    unsigned char                TA_SACK;
    unsigned char                TA_GET;
    unsigned char                TA_SURE;       
    unsigned char                TA_GO;
   
    unsigned char                CLK_TRAIL;
    unsigned char                CLK_ZERO;       
    unsigned char                LPX_WAIT;
    unsigned char                CONT_DET;
   
    unsigned char                CLK_HS_PRPR;
    unsigned char                CLK_HS_POST;
    unsigned char       DA_HS_EXIT;
    unsigned char       CLK_HS_EXIT;

    unsigned int                pll_select;
    unsigned int                pll_div1;
    unsigned int                pll_div2;       
    unsigned int        fbk_div;
    unsigned int                fbk_sel;
    unsigned int                rg_bir;
    unsigned int                rg_bic;
    unsigned int                rg_bp;
    unsigned int                PLL_CLOCK;
    unsigned int                dsi_clock;
    unsigned int                ssc_disable;
    unsigned int                ssc_range;
    unsigned int                compatibility_for_nvk;
    unsigned int                cont_clock;
    unsigned int                ufoe_enable;
                unsigned int                ufoe_vlc_disable;
                unsigned int                ufoe_vlc_cfg;
   
    unsigned int                lcm_int_te_monitor;
    unsigned int                lcm_int_te_period;
   
    unsigned int                lcm_ext_te_monitor;
    unsigned int                lcm_ext_te_enable;
   
    unsigned int                noncont_clock;
    unsigned int                noncont_clock_period;
   
} LCM_DSI_PARAMS;
发表于 2015-1-4 15:45:00 | 显示全部楼层
同问啊,求高手讲解下啊。。。。。
点评回复

使用道具 举报

发表于 2015-3-4 14:09:48 | 显示全部楼层
我也急需求教
点评回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies

本版积分规则

Archiver|手机版|小黑屋|52RD我爱研发网 ( 沪ICP备2022007804号-2 )

GMT+8, 2024-5-4 09:36 , Processed in 0.046509 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表