Lcd companion boards support (VKLCD50RTA & VKLCD70RT)

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers LcdCfg.h Source File

LcdCfg.h

00001 
00002 #ifndef LCD_CFG_H
00003 #define LCD_CFG_H
00004 
00005 #include "DisplayBace.h"
00006 #include "lcd_panel.h"
00007 
00008 /* LCD Parameter */
00009 #define LCD_INPUT_CLOCK                     (66.67)
00010 #if (LCD_VDC5_CH0_PANEL == LCD_CH0_PANEL_VKLCD70RT)
00011   #define LCD_OUTPUT_CLOCK                  (51.2f)
00012 #else
00013   #define LCD_OUTPUT_CLOCK                  (9.52f)
00014 #endif
00015 #define LCD_PIXEL_WIDTH                     LCD_CH0_DISP_HW
00016 #define LCD_PIXEL_HEIGHT                    LCD_CH0_DISP_VW
00017 #define LCD_H_BACK_PORCH                    (LCD_CH0_SIG_FH - (LCD_CH0_DISP_HW + LCD_CH0_DISP_HS))
00018 #define LCD_H_FRONT_PORCH                   LCD_CH0_DISP_HS
00019 #define LCD_H_SYNC_WIDTH                    (0u)
00020 #define LCD_V_BACK_PORCH                    (LCD_CH0_SIG_FV - (LCD_CH0_DISP_VW + LCD_CH0_DISP_VS))
00021 #define LCD_V_FRONT_PORCH                   LCD_CH0_DISP_VS
00022 #define LCD_V_SYNC_WIDTH                    (0u)
00023 
00024 extern const DisplayBase::lcd_config_t LcdCfgTbl;
00025 
00026 #endif
00027