]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/CORTEX_EFM32_Gecko_Starter_Kit_Simplicity_Studio/Source/SilLabs_Code/kits/EFM32GG_STK3700/config/displayconfig.h
Add EFM32 Giant Gecko Starter Kit demo - still a work in progress as the low power...
[freertos] / FreeRTOS / Demo / CORTEX_EFM32_Gecko_Starter_Kit_Simplicity_Studio / Source / SilLabs_Code / kits / EFM32GG_STK3700 / config / displayconfig.h
1 /***************************************************************************//**\r
2  * @file displayconfig.h\r
3  * @brief Configuration file for DISPLAY device driver interface.\r
4  * @version 4.0.0\r
5  *******************************************************************************\r
6  * @section License\r
7  * <b>(C) Copyright 2014 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 __DISPLAYCONFIG_H\r
17 #define __DISPLAYCONFIG_H\r
18 \r
19 /* Include support for the SHARP Memory LCD model LS013B7DH03 on the Zero Gecko\r
20    kit (EFM32ZG_STK3200). */\r
21 #define INCLUDE_DISPLAY_SHARP_LS013B7DH03\r
22 \r
23 #ifdef  INCLUDE_DISPLAY_SHARP_LS013B7DH03\r
24 #include "displayls013b7dh03config.h"\r
25 #include "displayls013b7dh03.h"\r
26 #endif\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 (i.e. ls013b7dh03 on the\r
38  * Zero Gecko Kit (EFM32ZG_STK3200).\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 /* __DISPLAYCONFIG_H */\r