VSF Documented
esp_lcd_types.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_types.h".
19 *
20 * Baseline: ESP-IDF v5.x public API surface.
21 */
22
23#ifndef __VSF_ESPIDF_ESP_LCD_TYPES_H__
24#define __VSF_ESPIDF_ESP_LCD_TYPES_H__
25
26/*============================ INCLUDES ======================================*/
27
28#include <stdint.h>
29#include <stddef.h>
30#include <stdbool.h>
31
32#include "esp_err.h"
33
34#ifdef __cplusplus
35extern "C" {
36#endif
37
38/*============================ TYPES =========================================*/
39
40typedef struct esp_lcd_panel_io_t *esp_lcd_panel_io_handle_t; /* IO handle */
41typedef struct esp_lcd_panel_t *esp_lcd_panel_handle_t; /* Panel handle */
42
43typedef enum {
47
48typedef enum {
52
53typedef enum {
56
57typedef struct {
67 struct {
73 } flags;
75
76enum {
80};
81
83
84typedef enum {
88
89typedef enum {
93
94typedef struct {
104
105typedef struct {
107 void *user_ctx;
109
113 void *user_ctx
114);
115
116typedef struct {
119
120#ifdef __cplusplus
121}
122#endif
123
124#endif /* __VSF_ESPIDF_ESP_LCD_TYPES_H__ */
bool
Definition type.h:60
bool(* esp_lcd_panel_io_color_trans_done_cb_t)(esp_lcd_panel_io_handle_t panel_io, esp_lcd_panel_io_event_data_t *edata, void *user_ctx)
Definition esp_lcd_types.h:110
struct esp_lcd_panel_t * esp_lcd_panel_handle_t
Definition esp_lcd_types.h:41
@ LCD_COLOR_FMT_RGB888
Definition esp_lcd_types.h:78
@ LCD_COLOR_FMT_GRAY8
Definition esp_lcd_types.h:79
@ LCD_COLOR_FMT_RGB565
Definition esp_lcd_types.h:77
lcd_rgb_element_order_t
Definition esp_lcd_types.h:43
@ LCD_RGB_ELEMENT_ORDER_RGB
Definition esp_lcd_types.h:44
@ LCD_RGB_ELEMENT_ORDER_BGR
Definition esp_lcd_types.h:45
lcd_color_range_t
Definition esp_lcd_types.h:84
@ LCD_COLOR_RANGE_LIMIT
Definition esp_lcd_types.h:85
@ LCD_COLOR_RANGE_FULL
Definition esp_lcd_types.h:86
struct esp_lcd_panel_io_t * esp_lcd_panel_io_handle_t
Definition esp_lcd_types.h:40
lcd_yuv_conv_std_t
Definition esp_lcd_types.h:89
@ LCD_YUV_CONV_STD_BT601
Definition esp_lcd_types.h:90
@ LCD_YUV_CONV_STD_BT709
Definition esp_lcd_types.h:91
lcd_clock_source_t
Definition esp_lcd_types.h:53
@ LCD_CLOCK_SOURCE_NONE
Definition esp_lcd_types.h:54
uint8_t lcd_color_format_t
Definition esp_lcd_types.h:82
lcd_rgb_data_endian_t
Definition esp_lcd_types.h:48
@ LCD_RGB_DATA_ENDIAN_BIG
Definition esp_lcd_types.h:49
@ LCD_RGB_DATA_ENDIAN_LITTLE
Definition esp_lcd_types.h:50
unsigned uint32_t
Definition stdint.h:9
unsigned char uint8_t
Definition stdint.h:5
Definition esp_lcd_types.h:116
esp_lcd_panel_io_color_trans_done_cb_t on_color_trans_done
Definition esp_lcd_types.h:117
Definition esp_lcd_types.h:105
void * user_ctx
Definition esp_lcd_types.h:107
esp_lcd_panel_io_handle_t io_handle
Definition esp_lcd_types.h:106
Definition esp_lcd_port.c:50
Definition esp_lcd_types.h:57
uint32_t vsync_front_porch
Definition esp_lcd_types.h:66
uint32_t pclk_active_neg
Definition esp_lcd_types.h:71
uint32_t hsync_pulse_width
Definition esp_lcd_types.h:61
uint32_t pclk_idle_high
Definition esp_lcd_types.h:72
uint32_t hsync_idle_low
Definition esp_lcd_types.h:68
uint32_t h_res
Definition esp_lcd_types.h:59
uint32_t pclk_hz
Definition esp_lcd_types.h:58
uint32_t hsync_front_porch
Definition esp_lcd_types.h:63
uint32_t v_res
Definition esp_lcd_types.h:60
uint32_t hsync_back_porch
Definition esp_lcd_types.h:62
uint32_t de_idle_high
Definition esp_lcd_types.h:70
uint32_t vsync_back_porch
Definition esp_lcd_types.h:65
uint32_t vsync_idle_low
Definition esp_lcd_types.h:69
uint32_t vsync_pulse_width
Definition esp_lcd_types.h:64
Definition esp_lcd_types.h:94
uint32_t hsync_pulse_width
Definition esp_lcd_types.h:97
uint32_t v_size
Definition esp_lcd_types.h:96
uint32_t h_size
Definition esp_lcd_types.h:95
uint32_t vsync_pulse_width
Definition esp_lcd_types.h:100
uint32_t vsync_front_porch
Definition esp_lcd_types.h:102
uint32_t vsync_back_porch
Definition esp_lcd_types.h:101
uint32_t hsync_back_porch
Definition esp_lcd_types.h:98
uint32_t hsync_front_porch
Definition esp_lcd_types.h:99
Generated from commit: vsfteam/vsf@c3767bf