aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/AlteraFramereader/board_alteraframereader_template.h
blob: c63e90833165c513e84c849da8b03ad932e888b1 (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.io/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, gPowermode pwr)
	{
		(void)g;
		(void)pwr;
	}
#endif