Fork of Silabs MemoryLCD library
Dependents: demoUI whrmDemoUI Host_Software_MAX32664GWEB_HR_EXTENDED Host_Software_MAX32664GWEC_SpO2_HR-_EXTE ... more
LCDSettings.h
00001 #ifndef LCDSETTINGS_H 00002 #define LCDSETTINGS_H 00003 00004 /** MemoryLCD width in pixels */ 00005 #define DISPLAY_WIDTH (128) 00006 00007 /** MemoryLCD height in pixels */ 00008 #define DISPLAY_HEIGHT (128) 00009 00010 /** Data type for storing buffer the pixel buffer */ 00011 #if ((DISPLAY_WIDTH % 32) == 0) 00012 #define DISPLAY_BUFFER_TYPE uint32_t 00013 #define DISPLAY_BUFFER_TYPE_MASK (0x1F) 00014 #else 00015 #define DISPLAY_BUFFER_TYPE uint8_t 00016 #define DISPLAY_BUFFER_TYPE_MASK (0x07) 00017 #endif 00018 00019 #define DISPLAY_BUFFER_TYPE_SIZE (sizeof(DISPLAY_BUFFER_TYPE) * 8) 00020 #define DISPLAY_BUFFER_ELEMENTS ((DISPLAY_WIDTH*DISPLAY_HEIGHT)/DISPLAY_BUFFER_TYPE_SIZE) 00021 00022 /** Maximum length of a printf to the display */ 00023 #define MAX_PRINTF_CHARS 40 00024 00025 /** Color definitions */ 00026 #define White 0xFFFFFFFF 00027 #define Black 0x00000000 00028 00029 #endif
Generated on Thu Jul 14 2022 00:59:54 by 1.7.2