2013-10-17 04:57:47 +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
|
|
|
|
|
2013-10-19 05:36:05 +00:00
|
|
|
static inline void init_board(GDisplay *g) {
|
2013-10-18 06:44:56 +00:00
|
|
|
(void) g;
|
2013-10-17 04:57:47 +00:00
|
|
|
}
|
|
|
|
|
2013-10-17 07:33:04 +00:00
|
|
|
static inline void post_init_board(GDisplay *g) {
|
2013-10-18 06:44:56 +00:00
|
|
|
(void) g;
|
2013-10-17 07:33:04 +00:00
|
|
|
}
|
|
|
|
|
2013-10-17 04:57:47 +00:00
|
|
|
static inline void setpin_reset(GDisplay *g, bool_t state) {
|
2013-10-18 06:44:56 +00:00
|
|
|
(void) g;
|
|
|
|
(void) state;
|
2013-10-17 04:57:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
static inline void set_backlight(GDisplay *g, uint8_t percent) {
|
2013-10-18 06:44:56 +00:00
|
|
|
(void) g;
|
|
|
|
(void) percent;
|
2013-10-17 04:57:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
static inline void acquire_bus(GDisplay *g) {
|
2013-10-18 06:44:56 +00:00
|
|
|
(void) g;
|
2013-10-17 04:57:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
static inline void release_bus(GDisplay *g) {
|
2013-10-18 06:44:56 +00:00
|
|
|
(void) g;
|
2013-10-17 04:57:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
static inline void write_index(GDisplay *g, uint16_t index) {
|
2013-10-18 06:44:56 +00:00
|
|
|
(void) g;
|
|
|
|
(void) index;
|
2013-10-17 04:57:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
static inline void write_data(GDisplay *g, uint16_t data) {
|
2013-10-18 06:44:56 +00:00
|
|
|
(void) g;
|
|
|
|
(void) data;
|
2013-10-17 04:57:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
static inline void setreadmode(GDisplay *g) {
|
2013-10-18 06:44:56 +00:00
|
|
|
(void) g;
|
2013-10-17 04:57:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
static inline void setwritemode(GDisplay *g) {
|
2013-10-18 06:44:56 +00:00
|
|
|
(void) g;
|
2013-10-17 04:57:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
static inline uint16_t read_data(GDisplay *g) {
|
2013-10-18 06:44:56 +00:00
|
|
|
(void) g;
|
|
|
|
return 0;
|
2013-10-17 04:57:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#if defined(GDISP_USE_DMA) || defined(__DOXYGEN__)
|
|
|
|
//#error "GDISP - SSD1289: This interface does not support DMA"
|
|
|
|
|
|
|
|
static inline void dma_with_noinc(GDisplay *g, color_t *buffer, int area) {
|
2013-10-18 06:44:56 +00:00
|
|
|
(void) g;
|
|
|
|
(void) buffer;
|
|
|
|
(void) area;
|
2013-10-17 04:57:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
static inline void dma_with_inc(GDisplay *g, color_t *buffer, int area) {
|
2013-10-18 06:44:56 +00:00
|
|
|
(void) g;
|
|
|
|
(void) buffer;
|
|
|
|
(void) area;
|
2013-10-17 04:57:47 +00:00
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* _GDISP_LLD_BOARD_H */
|