2013-09-24 19:15:55 +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
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Board interface definitions for ED060SC4 PrimeView E-ink panel.
|
|
|
|
*
|
|
|
|
* You should implement the following functions to define the interface to
|
|
|
|
* the panel on your board.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _GDISP_LLD_BOARD_H
|
|
|
|
#define _GDISP_LLD_BOARD_H
|
|
|
|
|
|
|
|
/* Set up IO pins for the panel connection. */
|
2015-10-23 08:24:49 +00:00
|
|
|
static GFXINLINE void init_board(void) {
|
2013-09-24 19:15:55 +00:00
|
|
|
#error Unimplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Delay for display waveforms. Should be an accurate microsecond delay. */
|
|
|
|
static void eink_delay(int us)
|
|
|
|
{
|
|
|
|
#error Unimplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Turn the E-ink panel Vdd supply (+3.3V) on or off. */
|
2015-10-23 08:24:49 +00:00
|
|
|
static GFXINLINE void setpower_vdd(bool_t on) {
|
2013-09-24 19:15:55 +00:00
|
|
|
#error Unimplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Turn the E-ink panel negative supplies (-15V, -20V) on or off. */
|
2015-10-23 08:24:49 +00:00
|
|
|
static GFXINLINE void setpower_vneg(bool_t on) {
|
2013-09-24 19:15:55 +00:00
|
|
|
#error Unimplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Turn the E-ink panel positive supplies (-15V, -20V) on or off. */
|
2015-10-23 08:24:49 +00:00
|
|
|
static GFXINLINE void setpower_vpos(bool_t on) {
|
2013-09-24 19:15:55 +00:00
|
|
|
#error Unimplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Set the state of the LE (source driver Latch Enable) pin. */
|
2015-10-23 08:24:49 +00:00
|
|
|
static GFXINLINE void setpin_le(bool_t on) {
|
2013-09-24 19:15:55 +00:00
|
|
|
#error Unimplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Set the state of the OE (source driver Output Enable) pin. */
|
2015-10-23 08:24:49 +00:00
|
|
|
static GFXINLINE void setpin_oe(bool_t on) {
|
2013-09-24 19:15:55 +00:00
|
|
|
#error Unimplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Set the state of the CL (source driver Clock) pin. */
|
2015-10-23 08:24:49 +00:00
|
|
|
static GFXINLINE void setpin_cl(bool_t on) {
|
2013-09-24 19:15:55 +00:00
|
|
|
#error Unimplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Set the state of the SPH (source driver Start Pulse Horizontal) pin. */
|
2015-10-23 08:24:49 +00:00
|
|
|
static GFXINLINE void setpin_sph(bool_t on) {
|
2013-09-24 19:15:55 +00:00
|
|
|
#error Unimplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Set the state of the D0-D7 (source driver Data) pins. */
|
2015-10-23 08:24:49 +00:00
|
|
|
static GFXINLINE void setpins_data(uint8_t value) {
|
2013-09-24 19:15:55 +00:00
|
|
|
#error Unimplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Set the state of the CKV (gate driver Clock Vertical) pin. */
|
2015-10-23 08:24:49 +00:00
|
|
|
static GFXINLINE void setpin_ckv(bool_t on) {
|
2013-09-24 19:15:55 +00:00
|
|
|
#error Unimplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Set the state of the GMODE (gate driver Gate Mode) pin. */
|
2015-10-23 08:24:49 +00:00
|
|
|
static GFXINLINE void setpin_gmode(bool_t on) {
|
2013-09-24 19:15:55 +00:00
|
|
|
#error Unimplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Set the state of the SPV (gate driver Start Pulse Vertical) pin. */
|
2015-10-23 08:24:49 +00:00
|
|
|
static GFXINLINE void setpin_spv(bool_t on) {
|
2013-09-24 19:15:55 +00:00
|
|
|
#error Unimplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|