diff options
author | inmarket <andrewh@inmarket.com.au> | 2015-01-27 13:42:46 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2015-01-27 13:42:46 +1000 |
commit | 606eeff79f5f8faae585a48b27f6a06645471355 (patch) | |
tree | 0be97f69980dd0d2e7e8f59b6fa086b980c9929f /drivers/gdisp/TLS8204/gdisp_lld_config.h | |
parent | adebde7a9959aa6414e1599847edea63feb81159 (diff) | |
download | uGFX-606eeff79f5f8faae585a48b27f6a06645471355.tar.gz uGFX-606eeff79f5f8faae585a48b27f6a06645471355.tar.bz2 uGFX-606eeff79f5f8faae585a48b27f6a06645471355.zip |
Add TLS8204 monochrome display. Not fully tested yet.
Diffstat (limited to 'drivers/gdisp/TLS8204/gdisp_lld_config.h')
-rw-r--r-- | drivers/gdisp/TLS8204/gdisp_lld_config.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/drivers/gdisp/TLS8204/gdisp_lld_config.h b/drivers/gdisp/TLS8204/gdisp_lld_config.h new file mode 100644 index 00000000..6ad8a571 --- /dev/null +++ b/drivers/gdisp/TLS8204/gdisp_lld_config.h @@ -0,0 +1,28 @@ +/* + * This file is subject to the terms of the GFX License. If a copy of + * the license was not distributed with this file, you can obtain one at: + * + * http://ugfx.org/license.html + */ + +#ifndef _GDISP_LLD_CONFIG_H +#define _GDISP_LLD_CONFIG_H + +#if GFX_USE_GDISP + +/*===========================================================================*/ +/* Driver hardware support. */ +/*===========================================================================*/ + +#define GDISP_HARDWARE_FLUSH TRUE // This controller requires flushing +#define GDISP_HARDWARE_DRAWPIXEL TRUE +#define GDISP_HARDWARE_CONTROL TRUE + +// Set this to your frame buffer pixel format. +#ifndef GDISP_LLD_PIXELFORMAT + #define GDISP_LLD_PIXELFORMAT GDISP_PIXELFORMAT_MONO +#endif + +#endif /* GFX_USE_GDISP */ + +#endif /* _GDISP_LLD_CONFIG_H */ |