VSF Documented
esp_lcd_panel_vsf.h
Go to the documentation of this file.
1/*****************************************************************************
2 * Copyright(C)2009-2026 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/*
18 * VSF extension to the ESP-IDF LCD panel API.
19 *
20 * esp_lcd_new_panel_from_vsf_disp() creates an esp_lcd_panel_handle_t
21 * that wraps a board-provided vk_disp_t. The board owns the display
22 * hardware lifecycle (SPI / I2C / GPIO / init sequence); the espidf
23 * panel layer is a thin consumer.
24 */
25
26#ifndef __VSF_ESPIDF_ESP_LCD_PANEL_VSF_H__
27#define __VSF_ESPIDF_ESP_LCD_PANEL_VSF_H__
28
29/*============================ INCLUDES ======================================*/
30
31#include "esp_err.h"
32#include "esp_lcd_types.h"
33#include "esp_lcd_panel_dev.h"
34
35#ifdef __cplusplus
36extern "C" {
37#endif
38
39/*============================ TYPES =========================================*/
40
41typedef struct vk_disp_t vk_disp_t;
42
43/*============================ PROTOTYPES ====================================*/
44
46 vk_disp_t *disp,
47 const esp_lcd_panel_dev_config_t *panel_dev_config,
48 esp_lcd_panel_handle_t *ret_panel);
49
50#ifdef __cplusplus
51}
52#endif
53
54#endif /* __VSF_ESPIDF_ESP_LCD_PANEL_VSF_H__ */
Definition vsf_disp.h:181
int esp_err_t
Definition esp_err.h:41
esp_err_t esp_lcd_new_panel_from_vsf_disp(vk_disp_t *disp, const esp_lcd_panel_dev_config_t *panel_dev_config, esp_lcd_panel_handle_t *ret_panel)
Definition esp_lcd_port.c:359
Definition esp_lcd_panel_dev.h:38
Definition esp_lcd_port.c:50
Generated from commit: vsfteam/vsf@c3767bf