VSF Documented
esp_lcd_panel_io.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 * Clean-room re-implementation of ESP-IDF public API "esp_lcd_panel_io.h".
19 *
20 * In the VSF bridge the IO layer is a thin configuration carrier. On a
21 * host target (Windows via wingdi / SDL2) the panel layer wraps the
22 * board's existing vk_disp_t and never calls tx_param / tx_color / rx_param.
23 * On an MCU target the IO layer's stored config can be consumed by a
24 * VSF display driver factory.
25 *
26 * Baseline: ESP-IDF v5.x public API surface.
27 */
28
29#ifndef __VSF_ESPIDF_ESP_LCD_PANEL_IO_H__
30#define __VSF_ESPIDF_ESP_LCD_PANEL_IO_H__
31
32/*============================ INCLUDES ======================================*/
33
34#include <stdint.h>
35#include <stddef.h>
36#include <stdbool.h>
37
38#include "esp_err.h"
39#include "esp_lcd_types.h"
40
41#ifdef __cplusplus
42extern "C" {
43#endif
44
45/*============================ PROTOTYPES ====================================*/
46
48 esp_lcd_panel_io_handle_t io, int lcd_cmd,
49 void *param, size_t param_size);
50
52 esp_lcd_panel_io_handle_t io, int lcd_cmd,
53 const void *param, size_t param_size);
54
56 esp_lcd_panel_io_handle_t io, int lcd_cmd,
57 const void *color, size_t color_size);
58
60
64 void *user_ctx);
65
66#ifdef __cplusplus
67}
68#endif
69
70#endif /* __VSF_ESPIDF_ESP_LCD_PANEL_IO_H__ */
int esp_err_t
Definition esp_err.h:41
esp_err_t esp_lcd_panel_io_register_event_callbacks(esp_lcd_panel_io_handle_t io, const esp_lcd_panel_io_callbacks_t *cbs, void *user_ctx)
Definition esp_lcd_port.c:348
esp_err_t esp_lcd_panel_io_tx_param(esp_lcd_panel_io_handle_t io, int lcd_cmd, const void *param, size_t param_size)
Definition esp_lcd_port.c:326
esp_err_t esp_lcd_panel_io_del(esp_lcd_panel_io_handle_t io)
Definition esp_lcd_port.c:342
esp_err_t esp_lcd_panel_io_tx_color(esp_lcd_panel_io_handle_t io, int lcd_cmd, const void *color, size_t color_size)
Definition esp_lcd_port.c:334
esp_err_t esp_lcd_panel_io_rx_param(esp_lcd_panel_io_handle_t io, int lcd_cmd, void *param, size_t param_size)
Definition esp_lcd_port.c:318
struct esp_lcd_panel_io_t * esp_lcd_panel_io_handle_t
Definition esp_lcd_types.h:40
Definition esp_lcd_types.h:116
uint32_t color
Definition vsf_sdl2_pixelformat.c:31
Generated from commit: vsfteam/vsf@c3767bf