1 /*
2  * Copyright (c) 2006-2022, RT-Thread Development Team
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  *
6  * Change Logs:
7  * Date           Author       Notes
8  * 2018-04-12     RT-Thread    the first version
9  * 2023-09-02     zbtrs        support SDL2
10  */
11 
12 #ifndef __DRV_LCD_H__
13 #define __DRV_LCD_H__
14 
15 #include <stdint.h>
16 #include "drivers/lcd.h"
17 
18 #define REVERSE_X       (1<<0)
19 #define REVERSE_Y       (1<<1)
20 #define REVERSE_MODE    (1<<2)
21 
22 int rt_hw_lcd_init(void);
23 
24 
25 
26 rt_uint8_t get_lcd_backlight(void);
27 void set_lcd_backlight(rt_uint8_t value);
28 void turn_down_lcd_backlight(void);
29 void turn_on_lcd_backlight(void);
30 
31 #endif
32