1 /**
2  * @file lv_renesas_glcdc.h
3  *
4  */
5 
6 #ifndef LV_RENESAS_GLCDC_H
7 #define LV_RENESAS_GLCDC_H
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 /*********************
14  *      INCLUDES
15  *********************/
16 #include "../../../display/lv_display.h"
17 
18 #if LV_USE_RENESAS_GLCDC
19 
20 /*********************
21  *      DEFINES
22  *********************/
23 
24 /**********************
25  *      TYPEDEFS
26  **********************/
27 
28 /**********************
29  * GLOBAL PROTOTYPES
30  **********************/
31 
32 /**
33  * Create a display using Renesas' GLCDC peripheral in DIRECT render mode
34  * @return  pointer to the created display
35  */
36 lv_display_t * lv_renesas_glcdc_direct_create(void);
37 
38 /**
39  * Create a display using Renesas' GLCDC peripheral in PARTIAL render mode
40  * @param buf1      first buffer
41  * @param buf2      second buffer (can be `NULL`)
42  * @param buf_size  buffer size in byte
43  * @return          pointer to the created display
44  */
45 lv_display_t * lv_renesas_glcdc_partial_create(void * buf1, void * buf2, size_t buf_size);
46 
47 /**********************
48  *      MACROS
49  **********************/
50 
51 #endif /* LV_USE_RENESAS_GLCDC */
52 
53 #ifdef __cplusplus
54 } /* extern "C" */
55 #endif
56 
57 #endif /* LV_RENESAS_GLCDC_H */
58