aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/AlteraFramereader/board_alteraframereader_template.h
blob: 4fc7d07150053cd0b53df3ab47476ebcb35d0e7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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