diff options
author | Joel Bodenmann <joel@embedded.pro> | 2017-02-18 16:32:57 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@embedded.pro> | 2017-02-18 16:32:57 +0100 |
commit | d3e995549655106a24d1089add89c1f674aa5d60 (patch) | |
tree | 0f398a7584d25136ba2aac3dfc1775d1dca20ec6 /drivers/gdisp/AlteraFramereader/board_alteraframereader_template.h | |
parent | 8411fd1f036baa58d7b23253e64c3b0f016c2671 (diff) | |
download | uGFX-d3e995549655106a24d1089add89c1f674aa5d60.tar.gz uGFX-d3e995549655106a24d1089add89c1f674aa5d60.tar.bz2 uGFX-d3e995549655106a24d1089add89c1f674aa5d60.zip |
Adding Altera Frame Reader IP Core display driver
Diffstat (limited to 'drivers/gdisp/AlteraFramereader/board_alteraframereader_template.h')
-rw-r--r-- | drivers/gdisp/AlteraFramereader/board_alteraframereader_template.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/drivers/gdisp/AlteraFramereader/board_alteraframereader_template.h b/drivers/gdisp/AlteraFramereader/board_alteraframereader_template.h new file mode 100644 index 00000000..4fc7d071 --- /dev/null +++ b/drivers/gdisp/AlteraFramereader/board_alteraframereader_template.h @@ -0,0 +1,30 @@ +/* + * 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 + */ + +#define SCREEN_WIDTH 800 +#define SCREEN_HEIGHT 480 +#define FRAMEREADER_BASE ALT_VIP_VFR_0_BASE + +#if GDISP_NEED_CONTROL + static void board_backlight(GDisplay* g, uint8_t percent) + { + (void)g; + (void)percent; + } + + static void board_contrast(GDisplay* g, uint8_t percent) + { + (void)g; + (void)percent; + } + + static void board_power(GDisplay* g, powermode_t pwr) + { + (void)g; + (void)pwr; + } +#endif |