LCD configurations for GR-PEACH LCD Shild.

Dependents:   LCD_shield_config

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers LcdCfg_4_3inch.cpp Source File

LcdCfg_4_3inch.cpp

00001 #include "LcdCfg_4_3inch.h"
00002 
00003 const DisplayBase::lcd_config_t LcdCfgTbl_4_3inch = {
00004       DisplayBase::LCD_TYPE_LVDS                                                    /* lcd_type             */
00005     , LCD_INPUT_CLOCK                                                               /* intputClock          */
00006     , LCD_OUTPUT_CLOCK                                                              /* outputClock          */
00007     , DisplayBase::LCD_OUTFORMAT_RGB888                                             /* lcd_outformat        */
00008     , DisplayBase::EDGE_RISING                                                      /* lcd_edge             */
00009     , (LCD_PIXEL_WIDTH  + LCD_H_FRONT_PORCH + LCD_H_BACK_PORCH + LCD_H_SYNC_WIDTH)  /* h_toatal_period      */
00010     , (LCD_PIXEL_HEIGHT + LCD_V_FRONT_PORCH + LCD_V_BACK_PORCH + LCD_V_SYNC_WIDTH)  /* v_toatal_period      */
00011     , LCD_PIXEL_WIDTH                                                               /* h_disp_widht         */
00012     , LCD_PIXEL_HEIGHT                                                              /* v_disp_widht         */
00013     , LCD_H_BACK_PORCH                                                              /* h_back_porch         */
00014     , LCD_V_BACK_PORCH                                                              /* v_back_porch         */
00015     , DisplayBase::LCD_TCON_PIN_2                                                   /* h_sync_port          */
00016     , DisplayBase::SIG_POL_NOT_INVERTED                                             /* h_sync_port_polarity */
00017     , LCD_H_SYNC_WIDTH                                                              /* h_sync_width         */
00018     , DisplayBase::LCD_TCON_PIN_0                                                   /* v_sync_port          */
00019     , DisplayBase::SIG_POL_NOT_INVERTED                                             /* v_sync_port_polarity */
00020     , LCD_V_SYNC_WIDTH                                                              /* v_sync_width         */
00021     , DisplayBase::LCD_TCON_PIN_3                                                   /* de_port              */
00022     , DisplayBase::SIG_POL_NOT_INVERTED                                             /* de_port_polarity     */
00023 };
00024