]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/CORTEX_EFM32_Gecko_Starter_Kit_Simplicity_Studio/Source/SilLabs_Code/kits/SLSTK3401A_EFM32PG/config/displayconfig.h
727797cf56ccb1e83a51b420d36cf55cd665a34d
[freertos] / FreeRTOS / Demo / CORTEX_EFM32_Gecko_Starter_Kit_Simplicity_Studio / Source / SilLabs_Code / kits / SLSTK3401A_EFM32PG / config / displayconfig.h
1 /***************************************************************************//**\r
2  * @file displayconfig.h\r
3  * @brief Configuration file for DISPLAY device driver interface.\r
4  * @version 4.2.1\r
5  *******************************************************************************\r
6  * @section License\r
7  * <b>(C) Copyright 2015 Silicon Labs, http://www.silabs.com</b>\r
8  *******************************************************************************\r
9  *\r
10  * This file is licensed under the Silabs License Agreement. See the file\r
11  * "Silabs_License_Agreement.txt" for details. Before using this software for\r
12  * any purpose, you must agree to the terms of that agreement.\r
13  *\r
14  ******************************************************************************/\r
15 \r
16 #ifndef __SILICON_LABS_DISPLAYCONFIG_H__\r
17 #define __SILICON_LABS_DISPLAYCONFIG_H__\r
18 \r
19 /* Include the application specific configuration file. */\r
20 #include "displayconfigapp.h"\r
21 \r
22 /* Include support for the SHARP Memory LCD model LS013B7DH03 */\r
23 #define INCLUDE_DISPLAY_SHARP_LS013B7DH03\r
24 \r
25 #include "displayls013b7dh03config.h"\r
26 #include "displayls013b7dh03.h"\r
27 \r
28 /**\r
29  * Maximum number of display devices the display module is configured\r
30  * to support. This number may be increased if the system includes more than\r
31  * one display device. However, the number should be kept low in order to\r
32  * save memory.\r
33  */\r
34 #define DISPLAY_DEVICES_MAX   (1)\r
35 \r
36 /**\r
37  * Geometry of display device #0 in the system. Display device #0 on this kit\r
38  * is the SHARP Memory LCD LS013B7DH03 which has 128x128 pixels.\r
39  * These defines can be used to declare static framebuffers in order to save\r
40  * extra memory consumed by malloc.\r
41  */\r
42 #define DISPLAY0_WIDTH    (LS013B7DH03_WIDTH)\r
43 #define DISPLAY0_HEIGHT   (LS013B7DH03_HEIGHT)\r
44 \r
45 \r
46 /**\r
47  * Define all display device driver initialization functions here.\r
48  */\r
49 #define DISPLAY_DEVICE_DRIVER_INIT_FUNCTIONS \\r
50   {                                          \\r
51     DISPLAY_Ls013b7dh03Init,                 \\r
52     NULL                                     \\r
53   }\r
54 \r
55 #endif /* __SILICON_LABS_DISPLAYCONFIG_H__ */\r