ugfx/drivers/gdisp/SSD1351/board_SSD1351_template.h

61 lines
1.1 KiB
C
Raw Normal View History

2015-03-31 14:29:18 +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_BOARD_H
#define _GDISP_LLD_BOARD_H
static GFXINLINE void init_board(GDisplay *g) {
2015-03-31 14:29:18 +00:00
(void) g;
}
static GFXINLINE void post_init_board(GDisplay *g) {
2015-03-31 14:29:18 +00:00
(void) g;
}
static GFXINLINE void setpin_reset(GDisplay *g, bool_t state) {
2015-03-31 14:29:18 +00:00
(void) g;
(void) state;
}
static GFXINLINE void set_backlight(GDisplay *g, uint8_t percent) {
2015-03-31 14:29:18 +00:00
(void) g;
(void) percent;
}
static GFXINLINE void acquire_bus(GDisplay *g) {
2015-03-31 14:29:18 +00:00
(void) g;
}
static GFXINLINE void release_bus(GDisplay *g) {
2015-03-31 14:29:18 +00:00
(void) g;
}
static GFXINLINE void write_cmd(GDisplay *g, uint8_t index) {
2015-03-31 14:29:18 +00:00
(void) g;
(void) index;
}
static GFXINLINE void write_data(GDisplay *g, uint8_t data) {
2015-03-31 14:29:18 +00:00
(void) g;
(void) data;
}
static GFXINLINE void setreadmode(GDisplay *g) {
2015-03-31 14:29:18 +00:00
(void) g;
}
static GFXINLINE void setwritemode(GDisplay *g) {
2015-03-31 14:29:18 +00:00
(void) g;
}
static GFXINLINE uint16_t read_data(GDisplay *g) {
2015-03-31 14:29:18 +00:00
(void) g;
return 0;
}
#endif /* _GDISP_LLD_BOARD_H */