VSF Documented
vsf_disp_st7789.h
Go to the documentation of this file.
1/*****************************************************************************
2 * Copyright(C)2009-2022 by VSF Team *
3 * *
4 * Licensed under the Apache License, Version 2.0 (the "License"); *
5 * you may not use this file except in compliance with the License. *
6 * You may obtain a copy of the License at *
7 * *
8 * http://www.apache.org/licenses/LICENSE-2.0 *
9 * *
10 * Unless required by applicable law or agreed to in writing, software *
11 * distributed under the License is distributed on an "AS IS" BASIS, *
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
13 * See the License for the specific language governing permissions and *
14 * limitations under the License. *
15 * *
16 ****************************************************************************/
17#ifndef __VSF_DISP_ST7789_H__
18#define __VSF_DISP_ST7789_H__
19
20/*============================ INCLUDES ======================================*/
21
23
24#if VSF_USE_UI == ENABLED && VSF_DISP_USE_ST7789 == ENABLED
25
26#include "../common/vsf_disp_sitronix_common.h"
27
28#if defined(__VSF_DISP_ST7789_CLASS_IMPLEMENT)
29# undef __VSF_DISP_ST7789_CLASS_IMPLEMENT
30# define __VSF_CLASS_IMPLEMENT__
31#endif
32
33#include "utilities/ooc_class.h"
34
35#ifdef __cplusplus
36extern "C" {
37#endif
38
39/*============================ MACROS ========================================*/
40/*============================ MACROFIED FUNCTIONS ===========================*/
41/*============================ TYPES =========================================*/
42
44 public_member(
45 implement(vk_disp_t)
46 implement_ex(vsf_disp_sitronix_hw_t, hw)
47 )
48};
49
50/*============================ GLOBAL VARIABLES ==============================*/
51
53
54/*============================ PROTOTYPES ====================================*/
55
56#ifdef __cplusplus
57}
58#endif
59
60#endif // VSF_USE_UI
61#endif // __VSF_DISP_ST7789_H__
Definition vsf_disp.h:149
Definition vsf_disp_st7789.h:43
Definition vsf_disp.h:173
#define vsf_class(__name)
Definition ooc_class.h:48
const vk_disp_drv_t vk_disp_drv_st7789
Definition vsf_disp_st7789.c:48