2016-04-25 04:57:36 +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
|
2016-04-25 04:57:36 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _BOARD_SSD1848_H
|
|
|
|
#define _BOARD_SSD1848_H
|
|
|
|
|
|
|
|
static void init_board(GDisplay *g) {
|
|
|
|
(void) g;
|
|
|
|
}
|
|
|
|
|
|
|
|
static void post_init_board(GDisplay *g) {
|
|
|
|
(void) g;
|
|
|
|
}
|
|
|
|
|
2018-06-23 03:02:07 +00:00
|
|
|
static void setpin_reset(GDisplay *g, gBool state) {
|
2016-04-25 04:57:36 +00:00
|
|
|
(void) g;
|
|
|
|
(void) state;
|
|
|
|
}
|
|
|
|
|
2018-11-03 00:51:23 +00:00
|
|
|
static void set_backlight(GDisplay *g, gU8 percent) {
|
2016-04-25 04:57:36 +00:00
|
|
|
(void) g;
|
|
|
|
(void) percent;
|
|
|
|
}
|
|
|
|
|
|
|
|
static void acquire_bus(GDisplay *g) {
|
|
|
|
(void) g;
|
|
|
|
}
|
|
|
|
|
|
|
|
static void release_bus(GDisplay *g) {
|
|
|
|
(void) g;
|
|
|
|
}
|
|
|
|
|
2018-11-03 00:51:23 +00:00
|
|
|
static void spi_write_cmd(GDisplay *g, gU8 cmd) {
|
2016-04-25 04:57:36 +00:00
|
|
|
(void) g;
|
|
|
|
(void) cmd;
|
|
|
|
}
|
|
|
|
|
2018-11-03 00:51:23 +00:00
|
|
|
static void spi_write_data_array(GDisplay *g, gU8* datas, gMemSize length) {
|
2016-04-25 04:57:36 +00:00
|
|
|
(void) g;
|
|
|
|
(void) datas;
|
|
|
|
(void) length;
|
|
|
|
}
|
|
|
|
|
2018-11-03 00:51:23 +00:00
|
|
|
static void spi_write_data(GDisplay *g, gU8 data) {
|
2016-04-25 04:57:36 +00:00
|
|
|
(void) g;
|
|
|
|
(void) data;
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* _BOARD_SSD1848_H */
|