ugfx/drivers/gdisp/UC8173/gdisp_lld_config.h

33 lines
1.2 KiB
C
Raw Normal View History

2017-02-02 16:07:59 +00:00
/*
* 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
#define GDISP_HARDWARE_DRAWPIXEL TRUE
2017-08-13 10:07:39 +00:00
//#define GDISP_HARDWARE_PIXELREAD TRUE - not implemented yet
2017-02-02 16:07:59 +00:00
#define GDISP_HARDWARE_CONTROL TRUE
#define GDISP_HARDWARE_FILLS FALSE
#define GDISP_LLD_PIXELFORMAT GDISP_PIXELFORMAT_MONO
2017-08-13 10:07:39 +00:00
//#define GDISP_LLD_PIXELFORMAT GDISP_PIXELFORMAT_GRAY4
2017-02-02 16:07:59 +00:00
#define GDISP_CONTROL_INVERT (GDISP_CONTROL_LLD+0)
2017-08-13 10:07:39 +00:00
#define GDISP_CONTROL_SETMODE (GDISP_CONTROL_LLD+1) /* Parameter: 0..n (as defined by the board file) */
#define GDISP_CONTROL_SETBORDER (GDISP_CONTROL_LLD+2) /* Parameter: 0=Border Hi-Z, 1=Border Black, 2=Border White */
2017-02-02 16:07:59 +00:00
#endif /* GFX_USE_GDISP */
#endif /* _GDISP_LLD_CONFIG_H */