Lcd companion boards support (VKLCD50RTA & VKLCD70RT)

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers LcdCfg.cpp Source File

LcdCfg.cpp

00001 #include "LcdCfg.h"
00002 
00003 #if (LCD_VDC5_CH0_PANEL == LCD_CH0_PANEL_VKLCD70RT)
00004 const DisplayBase::lcd_config_t LcdCfgTbl = {
00005       DisplayBase::LCD_TYPE_LVDS                                                     /* lcd_type             */
00006     , LCD_INPUT_CLOCK                                                               /* intputClock          */
00007     , LCD_OUTPUT_CLOCK                                                              /* outputClock          */
00008     , DisplayBase::LCD_OUTFORMAT_RGB888                                              /* lcd_outformat        */
00009     , DisplayBase::EDGE_RISING                                                       /* lcd_edge             */
00010     , (LCD_PIXEL_WIDTH  + LCD_H_FRONT_PORCH + LCD_H_BACK_PORCH + LCD_H_SYNC_WIDTH)  /* h_toatal_period      */
00011     , (LCD_PIXEL_HEIGHT + LCD_V_FRONT_PORCH + LCD_V_BACK_PORCH + LCD_V_SYNC_WIDTH)  /* v_toatal_period      */
00012     , LCD_PIXEL_WIDTH                                                               /* h_disp_widht         */
00013     , LCD_PIXEL_HEIGHT                                                              /* v_disp_widht         */
00014     , LCD_H_BACK_PORCH                                                              /* h_back_porch         */
00015     , LCD_V_BACK_PORCH                                                              /* v_back_porch         */
00016     , DisplayBase::LCD_TCON_PIN_NON                                                  /* h_sync_port          */
00017     , DisplayBase::SIG_POL_NOT_INVERTED                                              /* h_sync_port_polarity */
00018     , LCD_H_SYNC_WIDTH                                                              /* h_sync_width         */
00019     , DisplayBase::LCD_TCON_PIN_NON                                                 /* v_sync_port          */
00020     , DisplayBase::SIG_POL_NOT_INVERTED                                             /* v_sync_port_polarity */
00021     , LCD_V_SYNC_WIDTH                                                              /* v_sync_width         */
00022     , DisplayBase::LCD_TCON_PIN_0                                                    /* de_port              */
00023     , DisplayBase::SIG_POL_NOT_INVERTED                                             /* de_port_polarity     */
00024 };
00025 #else
00026 const DisplayBase::lcd_config_t LcdCfgTbl = {
00027       DisplayBase::LCD_TYPE_PARALLEL_RGB                                             /* lcd_type             */
00028     , LCD_INPUT_CLOCK                                                               /* intputClock          */
00029     , LCD_OUTPUT_CLOCK                                                              /* outputClock          */
00030     , DisplayBase::LCD_OUTFORMAT_RGB565                                              /* lcd_outformat        */
00031     , DisplayBase::EDGE_RISING                                                      /* lcd_edge             */
00032     , (LCD_PIXEL_WIDTH  + LCD_H_FRONT_PORCH + LCD_H_BACK_PORCH + LCD_H_SYNC_WIDTH)  /* h_toatal_period      */
00033     , (LCD_PIXEL_HEIGHT + LCD_V_FRONT_PORCH + LCD_V_BACK_PORCH + LCD_V_SYNC_WIDTH)  /* v_toatal_period      */
00034     , LCD_PIXEL_WIDTH                                                               /* h_disp_widht         */
00035     , LCD_PIXEL_HEIGHT                                                              /* v_disp_widht         */
00036     , LCD_H_BACK_PORCH                                                              /* h_back_porch         */
00037     , LCD_V_BACK_PORCH                                                              /* v_back_porch         */
00038     , DisplayBase::LCD_TCON_PIN_NON                                                  /* h_sync_port          */
00039     , DisplayBase::SIG_POL_NOT_INVERTED                                              /* h_sync_port_polarity */
00040     , LCD_H_SYNC_WIDTH                                                              /* h_sync_width         */
00041     , DisplayBase::LCD_TCON_PIN_NON                                                 /* v_sync_port          */
00042     , DisplayBase::SIG_POL_NOT_INVERTED                                             /* v_sync_port_polarity */
00043     , LCD_V_SYNC_WIDTH                                                              /* v_sync_width         */
00044     , DisplayBase::LCD_TCON_PIN_0                                                    /* de_port              */
00045     , DisplayBase::SIG_POL_NOT_INVERTED                                             /* de_port_polarity     */
00046 };
00047 #endif
00048