/* Timing configuration */
/* Configure horizontal synchronization width */
LTDC_InitStruct.LTDC_HorizontalSync = 210;//210;//9;
/* Configure vertical synchronization height */
LTDC_InitStruct.LTDC_VerticalSync = 22; //22;
/* Configure accumulated horizontal back porch */
LTDC_InitStruct.LTDC_AccumulatedHBP = 45;//46;
/* Configure accumulated vertical back porch */
LTDC_InitStruct.LTDC_AccumulatedVBP = 22;//23;
/* Configure accumulated active width */
LTDC_InitStruct.LTDC_AccumulatedActiveW = 845;//(LCD_PIXEL_WIDTH+46);
/* Configure accumulated active height */
LTDC_InitStruct.LTDC_AccumulatedActiveH =502;//(LCD_PIXEL_HEIGHT+23);
/* Configure total width */
LTDC_InitStruct.LTDC_TotalWidth =1055;//(LCD_PIXEL_WIDTH+46+210);
/* Configure total height */
LTDC_InitStruct.LTDC_TotalHeigh = 524;//(LCD_PIXEL_HEIGHT+23+22);
试了网上关于时序配置的几个版本,都不对,想请假下原子哥,你家的7寸屏时序是如何配置的。LTDC_HorizontalSync和LTDC_VerticalSync 等参数该写多少?
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
一周热门 更多>