From f216903f6cac02961fa5a3dff6c7a547f1fafad3 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Wed, 10 Oct 2012 10:52:11 +0200 Subject: [PATCH] docs --- docs/configure.txt | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/docs/configure.txt b/docs/configure.txt index 02c6be9a..58830c2d 100644 --- a/docs/configure.txt +++ b/docs/configure.txt @@ -2,17 +2,25 @@ There are serval macros available to configure the behaviour of the GFX-Library. HAL macros: - #define HAL_USE_GFX // enables the GDISP sub system. This is essentially needed to use the display - #define HAL_USE_TOUCHPAD // enables the TouchPad sub system. This is essentially needed to use the touchpad + #define HAL_USE_GFX // enables the GDISP sub system. This is essentially needed to use the display + #define HAL_USE_TOUCHPAD // enables the TouchPad sub system. This is essentially needed to use the touchpad + GDISP macors: - #define GDISP_ + #define GDISP_USE_GPIO // GDISP is connected to the MCU using GPIO interface, involves using lld_lcdWriteGPIO() and lld_lcdReadGPIO() + #define GDISP_USE_FSMC // GDISP is connected to the MCU using FSMC interface + #define GDISP_USE_SPI // GDISP is connected to the MCU using SPI interface + + #define GDISP_SCREEN_WIDTH // defines width of panel in pixels + #define GDISP_SCREEN_HEIGHT // defines height of panel in pixels + + #define GDISP_NEED_MULTITHREAD // GDISP will be accessed across different threads -> thread safe support + #define GDISP_NEED_CONTROL // must be set to TRUE if access control access to the LCD controller is needed - -TouchPAD macros: +TouchPad macros: #define TOUCHPAD_