aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2012-10-10 10:56:04 +0200
committerJoel Bodenmann <joel@unormal.org>2012-10-10 10:56:04 +0200
commit267b908689bbe82db9bd4e0f3376e77a14e4dfd9 (patch)
tree294bf6ebaf149aa46452665530fc60e1bcd930d5 /docs
parentf216903f6cac02961fa5a3dff6c7a547f1fafad3 (diff)
downloaduGFX-267b908689bbe82db9bd4e0f3376e77a14e4dfd9.tar.gz
uGFX-267b908689bbe82db9bd4e0f3376e77a14e4dfd9.tar.bz2
uGFX-267b908689bbe82db9bd4e0f3376e77a14e4dfd9.zip
docs
Diffstat (limited to 'docs')
-rw-r--r--docs/configure.txt61
1 files changed, 34 insertions, 27 deletions
diff --git a/docs/configure.txt b/docs/configure.txt
index 58830c2d..200c9966 100644
--- a/docs/configure.txt
+++ b/docs/configure.txt
@@ -1,27 +1,34 @@
-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
-
-
-
-GDISP macors:
-
- #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:
-
- #define TOUCHPAD_
-
-
+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
+
+
+
+GDISP macors:
+
+ #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. This is essentially needed to use the display
+ #define GDISP_SCREEN_HEIGHT // defines height of panel in pixels. This is essentailly needed to use the display
+
+ #define GDISP_NEED_MULTITHREAD // GDISP will be accessed across different threads -> thread safe mode
+ #define GDISP_NEED_CONTROL // must be set to TRUE if controll access to the LCD controller is needed, eg for changing orientation or power mode
+
+
+
+TouchPad macros:
+
+ #define TOUCHPAD_NEED_MULTITHREAD // TouchPad will be accessed across different threads -> thread safe mode
+
+ #define TOUCHPAD_XY_INVERTED // output of tpReadX() and tpReadY() swapped - needed if touchpad writes swapped to touchpad controller
+
+ #define TOUCHPAD_STORE_CALIBRATION // calibration values can be stored if set to true. Therefore tpCalibration() is not neccessary to call on each reset. involves using lld_tpWriteCalibration() and lld_tpReadCalibration()
+
+
+
+