test public
Dependencies: HttpServer_snapshot_mbed-os
LcdCfg_Display_shield.h
00001 #ifndef LCD_CFG_DISPLAY_SHIELD_H 00002 #define LCD_CFG_DISPLAY_SHIELD_H 00003 00004 #include "DisplayBace.h" 00005 00006 #define SVGA (0u) /* 800x600@60 37.9kHz/60Hz */ 00007 #define XGA (1u) /* 1024x768@60 48.4kHz/60Hz */ 00008 #define HD_720p (2u) /* 1280x720@60 45.0kHz/60Hz */ 00009 00010 #ifndef LCD_SIZE 00011 #define LCD_SIZE HD_720p /* Select SVGA, XGA, or HD_720p */ 00012 #endif 00013 00014 /* LCD Parameter */ 00015 #define LCD_INPUT_CLOCK (66.67) /* not use */ 00016 #if ( LCD_SIZE == SVGA ) 00017 #define LCD_OUTPUT_CLOCK (40.0003) 00018 #define LCD_PIXEL_WIDTH (800u) 00019 #define LCD_PIXEL_HEIGHT (600u) 00020 #define LCD_H_BACK_PORCH (88u) 00021 #define LCD_H_FRONT_PORCH (40u) 00022 #define LCD_H_SYNC_WIDTH (128u) 00023 #define LCD_V_BACK_PORCH (23u) 00024 #define LCD_V_FRONT_PORCH (1u) 00025 #define LCD_V_SYNC_WIDTH (4u) 00026 #elif ( LCD_SIZE == XGA ) 00027 #define LCD_OUTPUT_CLOCK (65.0002) 00028 #define LCD_PIXEL_WIDTH (1024u) 00029 #define LCD_PIXEL_HEIGHT (768u) 00030 #define LCD_H_BACK_PORCH (160u) 00031 #define LCD_H_FRONT_PORCH (24u) 00032 #define LCD_H_SYNC_WIDTH (136u) 00033 #define LCD_V_BACK_PORCH (29u) 00034 #define LCD_V_FRONT_PORCH (3u) 00035 #define LCD_V_SYNC_WIDTH (6u) 00036 #elif ( LCD_SIZE == HD_720p ) 00037 #define LCD_OUTPUT_CLOCK (74.1800) 00038 #define LCD_PIXEL_WIDTH (1280u) 00039 #define LCD_PIXEL_HEIGHT (720u) 00040 #define LCD_H_BACK_PORCH (220u) 00041 #define LCD_H_FRONT_PORCH (70u) 00042 #define LCD_H_SYNC_WIDTH (80u) 00043 #define LCD_V_BACK_PORCH (20u) 00044 #define LCD_V_FRONT_PORCH (5u) 00045 #define LCD_V_SYNC_WIDTH (5u) 00046 #endif 00047 00048 extern const DisplayBase::lcd_config_t LcdCfgTbl_Display_shield; 00049 00050 #endif 00051
Generated on Wed Jul 13 2022 05:33:36 by 1.7.2