您好,欢迎访问三七文档
///Apanelstructtypeusedtospecifythepanelattributes,andsettingsfromBoardlayout1:constchar*m_pPanelName;PanelName屏的名称2:MS_U8m_bPanelDither:1;SubBKVOP_36,bPanelDither=10X2D05,bPanelDither=00X2D003:APIPNL_LINK_TYPEm_ePanelLinkType:4;SubBKVOP_44,LVDS=0x11,RSDS=0x004:m_bPanelDualPort:1;SubVOP_43[0],MOD_94[1],5:MS_U8m_bPanelSwapPort:1;SubMOD_94[0]6:MS_U8m_bPanelSwapOdd_ML:1;SubMOD_92[12]7:MS_U8m_bPanelSwapEven_ML:1;SubMOD_92[14]8:MS_U8m_bPanelSwapOdd_RB:1;SubMOD_92[11]9:MS_U8m_bPanelSwapEven_RB:1;SubMOD_92[13]11:MS_U8m_bPanelSwapLVDS_POL:1;SubMOD_80[5]12:MS_U8m_bPanelSwapLVDS_CH:1;SubMOD_80[6]13:MS_U8m_bPanelPDP10BIT:1;SubMOD_80[3]14:MS_U8m_bPanelLVDS_TI_MODE:1;SubMOD_80[2],说明当前的panel是不是TImode15:MS_U8m_ucPanelDCLKDelay;SubMOD_94[8:11],16:MS_U8m_bPanelInvDCLK:1;SubMOD_94[4],17:MS_U8m_bPanelInvDE:1;SubMOD_94[2],18:MS_U8m_bPanelInvHSync:1;SubMOD_94[12]19:MS_U8m_bPanelInvVSync:1;SubMOD_94[3],20:MS_U8m_ucPanelDCKLCurrent;SubVOP_8E[6:7],21:MS_U8m_ucPanelDECurrent;SubVOP_8E[4:5],22:MS_U8m_ucPanelODDDataCurrent;SubVOP_8E[2:3]23:MS_U8m_ucPanelEvenDataCurrent;SubVOP_8E[0:1]24:MS_U16m_wPanelOnTiming1;timebetweenpanel&datawhileturnonpower25:MS_U16m_wPanelOnTiming2;timebetweendata&backlightwhileturnonpower26:MS_U16m_wPanelOffTiming1;timebetweenbacklight&datawhileturnoffpower27:MS_U16m_wPanelOffTiming2;timebetweendata&panelwhileturnoffpower28:MS_U8m_ucPanelHSyncWidth;SubVOP_02[7:0]29:MS_U8m_ucPanelHSyncBackPorch;noregistersetting,providevalueforqueryonly,notsupportManuelVSyncStart/EndnowVOP_04[10:0]VSyncstart=Vtt-VBackPorch–VsyncWidth,VOP_06[10:0]VSyncend=Vtt–VbackPorch30:MS_U8m_ucPanelVSyncWidth;MS_U8m_ucPanelVBackPorch;31:MS_U16m_wPanelHStart;SubVOP_08[11:0],DEHStart(PANEL_HSYNC_WIDTH+PANEL_HSYNC_BACK_PORCH)32:MS_U16m_wPanelVStart;SubVOP_0C[11:0]33:MS_U16m_wPanelWidth;DEwidth(VOP_0A[11:0]=HEnd=HStart+Width-1)34:MS_U16m_wPanelHeight;DEheight(VOP_0E[11:0]=Vend=VStart+Height-1)35:MS_U16m_wPanelMaxHTotal;Reservedforfutureusing.36:MS_U16m_wPanelHTotal;SubVOP_18[11:0]37:MS_U16m_wPanelMinHTotal;Reservedforfutureusing.38:MS_U16m_wPanelMaxVTotal;Reservedforfutureusing.39:MS_U16m_wPanelVTotal;SubVOP_1A[11:0]40:MS_U16m_wPanelMinVTotal;Reservedforfutureusing.41:MS_U8m_dwPanelMaxDCLK;Reservedforfutureusing.42:MS_U8m_dwPanelDCLK;SubLPLL_0F[23:0],{0x3100_10[7:0],0x3100_0F[15:0]}43:MS_U8m_dwPanelMinDCLK;Reservedforfutureusing.44:MS_U16m_wSpreadSpectrumStep;MS_U16m_wSpreadSpectrumSpan;movetoboarddefine,nousenow.45:MS_U8m_ucDimmingCtl;MS_U8m_ucMaxPWMVal;MS_U8m_ucMinPWMVal;InitialDimmingValue/MaxDimmingValue/MinDimmingValue46:MS_U8m_bPanelDeinterMode:1;nousenow47:E_PNL_ASPECT_RATIOm_ucPanelAspectRatio;PanelAspectRatio,provideinformationtoupperlayerapplicationforaspectratiosetting.48:MS_U16m_u16LVDSTxSwapValue;SubMOD_E6[0:15],49:APIPNL_TIBITMODEm_ucTiBitMode;SubMOD_96[1:0],当颜色不对的时候,就可以调整这个设定来试验。50:APIPNL_OUTPUTFORMAT_BITMODEm_ucOutputFormatBitMode;SubMOD_92[6:7],10:8bit,01:6bit:other10bitDefinepaneloutputformatbitmode.Thedefaultvalueis10bit,becasue8bitpanelcanuse10bitconfigand8bitconfig.But10bitpanel(likePDPpanel)canonlyuse10bitconfig.AndsomePDApanelis6bit51:MS_U8m_bPanelSwapOdd_RG:1;MS_U8m_bPanelSwapEven_RG:1;MS_U8m_bPanelSwapOdd_GB:1;MS_U8m_bPanelSwapEven_GB:1;SubMOD_92[2:5],Odd_RG:bit3,Odd_GB:bit2,Even_RGbit5,Even_GBbit452:MS_U8m_bPanelDoubleClk:1;LPLL_06[7],LVDSdualmode56:MS_U32m_dwPanelMaxSET;MS_U32m_dwPanelMinSET;这个值会限定FPLLLOCK的范围,也就是LPLL_D5D6D757:APIPNL_OUT_TIMING_MODEm_ucOutTimingMode;DefinewhichpaneloutputtimingchangemodeisusedtochangeVFreqforsamepanel,目前有三种选择E_PNL_CHG_DCLK,E_PNL_CHG_HTOTAL,E_PNL_CHG_VTOTAL,后面两者都是为了保持DCLK不变而修改HTOTAL/VTOTAL.58:MS_U8m_bPanelNoiseDith:1;SubPAFRC_7E[3]Note以上寄存器都是8bitAddress
本文标题:屏参数设置说明
链接地址:https://www.777doc.com/doc-2477360 .html