test public

Dependencies:   HttpServer_snapshot_mbed-os

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers LcdCfg_DVI_Stick.h Source File

LcdCfg_DVI_Stick.h

00001 
00002 #ifndef LCD_CFG_DVI_STICK_H
00003 #define LCD_CFG_DVI_STICK_H
00004 
00005 #include "DisplayBace.h"
00006 
00007 #define SD_7INCH                            (0u)  /*  800x480@60 */
00008 #define SVGA                                (1u)  /*  800x600@60 */
00009 #define XGA                                 (2u)  /* 1024x768@60 */
00010 #define HD_720p                             (3u)  /* 1280x720@60 */
00011 
00012 #ifndef LCD_SIZE
00013 #define LCD_SIZE                            HD_720p /* Select SD_7INCH, SVGA, XGA, or HD_720p */
00014 #endif
00015 
00016 /* LCD Parameter */
00017 #define LCD_INPUT_CLOCK                     (66.67)  /* not use */
00018 #if ( LCD_SIZE == SD_7INCH )
00019 #define LCD_OUTPUT_CLOCK                    (33.26)
00020 #define LCD_PIXEL_WIDTH                     (800u)
00021 #define LCD_PIXEL_HEIGHT                    (480u)
00022 #define LCD_H_BACK_PORCH                    (128u)
00023 #define LCD_H_FRONT_PORCH                   (92u)
00024 #define LCD_H_SYNC_WIDTH                    (20u)
00025 #define LCD_V_BACK_PORCH                    (35u)
00026 #define LCD_V_FRONT_PORCH                   (5u)
00027 #define LCD_V_SYNC_WIDTH                    (10u)
00028 #elif ( LCD_SIZE == SVGA )
00029 #define LCD_OUTPUT_CLOCK                    (40.0003)
00030 #define LCD_PIXEL_WIDTH                     (800u)
00031 #define LCD_PIXEL_HEIGHT                    (600u)
00032 #define LCD_H_BACK_PORCH                    (88u)
00033 #define LCD_H_FRONT_PORCH                   (40u)
00034 #define LCD_H_SYNC_WIDTH                    (128u)
00035 #define LCD_V_BACK_PORCH                    (20u)
00036 #define LCD_V_FRONT_PORCH                   (4u)
00037 #define LCD_V_SYNC_WIDTH                    (4u)
00038 #elif ( LCD_SIZE == XGA )
00039 #define LCD_OUTPUT_CLOCK                    (65.0002)
00040 #define LCD_PIXEL_WIDTH                     (1024u)
00041 #define LCD_PIXEL_HEIGHT                    (768u)
00042 #define LCD_H_BACK_PORCH                    (160u)
00043 #define LCD_H_FRONT_PORCH                   (24u)
00044 #define LCD_H_SYNC_WIDTH                    (136u)
00045 #define LCD_V_BACK_PORCH                    (28u)
00046 #define LCD_V_FRONT_PORCH                   (4u)
00047 #define LCD_V_SYNC_WIDTH                    (6u)
00048 #elif ( LCD_SIZE == HD_720p )
00049 #define LCD_OUTPUT_CLOCK                    (74.2500)
00050 #define LCD_PIXEL_WIDTH                     (1280u)
00051 #define LCD_PIXEL_HEIGHT                    (720u)
00052 #define LCD_H_BACK_PORCH                    (216u)
00053 #define LCD_H_FRONT_PORCH                   (72u)
00054 #define LCD_H_SYNC_WIDTH                    (80u)
00055 #define LCD_V_BACK_PORCH                    (22u)
00056 #define LCD_V_FRONT_PORCH                   (3u)
00057 #define LCD_V_SYNC_WIDTH                    (5u)
00058 #endif
00059 
00060 extern const DisplayBase::lcd_config_t LcdCfgTbl_DVI_Stick;
00061 
00062 #endif
00063 
00064