diff options
| author | Joel Bodenmann <joel@unormal.org> | 2013-01-10 14:51:31 +0100 |
|---|---|---|
| committer | Joel Bodenmann <joel@unormal.org> | 2013-01-10 14:51:31 +0100 |
| commit | d5e7afe756fe4c19dd9360baed23599b268709af (patch) | |
| tree | 5f9532e6da0274c65b799b85e9f2ba2378f09fde /include | |
| parent | 6cc67bad84176614936f2c6439d640637186764d (diff) | |
| download | uGFX-d5e7afe756fe4c19dd9360baed23599b268709af.tar.gz uGFX-d5e7afe756fe4c19dd9360baed23599b268709af.tar.bz2 uGFX-d5e7afe756fe4c19dd9360baed23599b268709af.zip | |
4-bit mode implemented
Diffstat (limited to 'include')
| -rw-r--r-- | include/tdisp/tdisp.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/tdisp/tdisp.h b/include/tdisp/tdisp.h index 9d19e0cb..aa577f88 100644 --- a/include/tdisp/tdisp.h +++ b/include/tdisp/tdisp.h @@ -41,6 +41,22 @@ /* Include the low level driver information */ #include "tdisp/lld/tdisp_lld.h" +#ifndef TDISP_NEED_4BIT_MODE + #define TDISP_NEED_4BIT_MODE FALSE +#endif + +#ifndef TDISP_NEED_8BIT_MODE + #define TDISP_NEED_8BIT_MODE FALSE +#endif + +#if (!TDISP_NEED_4BIT_MODE && !TDISP_NEED_8BIT_MODE) + #error "Either TDISP_NEED_4BIT_MODE or TDISP_NEED_8BIT_MODE needs to be set to TRUE in your gfxconf.h!" +#endif + +#if (TDISP_NEED_4BIT_MODE && TDISP_NEED_8BIT_MODE) + #error "Only TDISP_NEED_4BIT_MODE or TDISP_NEED_8BIT_MODE can be set to TRUE, not both at one!" +#endif + /** * @brief TDISP driver initialisation * @note This function is not implicitly invoked by @p halInit(). |
