diff options
author | inmarket <andrewh@inmarket.com.au> | 2015-04-01 00:29:18 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2015-04-01 00:29:18 +1000 |
commit | 8e18cc30e240293a9bb7024a5e0d75232ce81dab (patch) | |
tree | 3fef78f96ec0831385c44dcc4e04511ea73599e3 /drivers/gdisp/SSD1351/board_SSD1351_template.h | |
parent | a59327fbbf26802cd8f9a0641f978f99dc9484bf (diff) | |
download | uGFX-8e18cc30e240293a9bb7024a5e0d75232ce81dab.tar.gz uGFX-8e18cc30e240293a9bb7024a5e0d75232ce81dab.tar.bz2 uGFX-8e18cc30e240293a9bb7024a5e0d75232ce81dab.zip |
First cut SSD1351 driver
Diffstat (limited to 'drivers/gdisp/SSD1351/board_SSD1351_template.h')
-rw-r--r-- | drivers/gdisp/SSD1351/board_SSD1351_template.h | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/drivers/gdisp/SSD1351/board_SSD1351_template.h b/drivers/gdisp/SSD1351/board_SSD1351_template.h new file mode 100644 index 00000000..e28ce23a --- /dev/null +++ b/drivers/gdisp/SSD1351/board_SSD1351_template.h @@ -0,0 +1,60 @@ +/* + * 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 inline void init_board(GDisplay *g) { + (void) g; +} + +static inline void post_init_board(GDisplay *g) { + (void) g; +} + +static inline void setpin_reset(GDisplay *g, bool_t state) { + (void) g; + (void) state; +} + +static inline void set_backlight(GDisplay *g, uint8_t percent) { + (void) g; + (void) percent; +} + +static inline void acquire_bus(GDisplay *g) { + (void) g; +} + +static inline void release_bus(GDisplay *g) { + (void) g; +} + +static inline void write_cmd(GDisplay *g, uint8_t index) { + (void) g; + (void) index; +} + +static inline void write_data(GDisplay *g, uint8_t data) { + (void) g; + (void) data; +} + +static inline void setreadmode(GDisplay *g) { + (void) g; +} + +static inline void setwritemode(GDisplay *g) { + (void) g; +} + +static inline uint16_t read_data(GDisplay *g) { + (void) g; + return 0; +} + +#endif /* _GDISP_LLD_BOARD_H */ |