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:
*
2018-10-01 15:32:39 +00:00
* http://ugfx.io/license.html
2017-02-02 16:07:59 +00:00
*/
#ifndef _GDISP_LLD_CONFIG_H
#define _GDISP_LLD_CONFIG_H
#if GFX_USE_GDISP
/*===========================================================================*/
/* Driver hardware support. */
/*===========================================================================*/
2018-02-27 07:44:21 +00:00
#define GDISP_HARDWARE_FLUSH GFXON
#define GDISP_HARDWARE_DRAWPIXEL GFXON
//#define GDISP_HARDWARE_PIXELREAD GFXON - not implemented yet
#define GDISP_HARDWARE_CONTROL GFXON
#define GDISP_HARDWARE_FILLS GFXOFF
2017-02-02 16:07:59 +00:00
#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 */