VSF Documented
esp_lcd_panel_ops.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_ops.h".
19 *
20 * Baseline: ESP-IDF v5.x public API surface.
21 */
22
23#ifndef __VSF_ESPIDF_ESP_LCD_PANEL_OPS_H__
24#define __VSF_ESPIDF_ESP_LCD_PANEL_OPS_H__
25
26/*============================ INCLUDES ======================================*/
27
28#include <stdint.h>
29#include <stddef.h>
30#include <stdbool.h>
31
32#include "esp_err.h"
33#include "esp_lcd_types.h"
34
35#ifdef __cplusplus
36extern "C" {
37#endif
38
39/*============================ PROTOTYPES ====================================*/
40
45 esp_lcd_panel_handle_t panel, int x_start, int y_start,
46 int x_end, int y_end, const void *color_data);
48 esp_lcd_panel_handle_t panel, bool mirror_x, bool mirror_y);
50 esp_lcd_panel_handle_t panel, bool swap_axes);
52 esp_lcd_panel_handle_t panel, int x_gap, int y_gap);
54 esp_lcd_panel_handle_t panel, bool invert_color_data);
56 esp_lcd_panel_handle_t panel, bool on_off);
58 esp_lcd_panel_handle_t panel, bool sleep);
60 esp_lcd_panel_handle_t panel, int brightness);
62 esp_lcd_panel_handle_t panel, int x_start, int y_start,
63 int x_end, int y_end, const void *src_data,
64 size_t src_x_size, size_t src_y_size,
65 int src_x_start, int src_y_start,
66 int src_x_end, int src_y_end);
67
68#ifdef __cplusplus
69}
70#endif
71
72#endif /* __VSF_ESPIDF_ESP_LCD_PANEL_OPS_H__ */
int esp_err_t
Definition esp_err.h:41
esp_err_t esp_lcd_panel_invert_color(esp_lcd_panel_handle_t panel, bool invert_color_data)
Definition esp_lcd_port.c:277
esp_err_t esp_lcd_panel_draw_bitmap_2d(esp_lcd_panel_handle_t panel, int x_start, int y_start, int x_end, int y_end, const void *src_data, size_t src_x_size, size_t src_y_size, int src_x_start, int src_y_start, int src_x_end, int src_y_end)
Definition esp_lcd_port.c:301
esp_err_t esp_lcd_panel_mirror(esp_lcd_panel_handle_t panel, bool mirror_x, bool mirror_y)
Definition esp_lcd_port.c:259
esp_err_t esp_lcd_panel_swap_xy(esp_lcd_panel_handle_t panel, bool swap_axes)
Definition esp_lcd_port.c:265
esp_err_t esp_lcd_panel_disp_sleep(esp_lcd_panel_handle_t panel, bool sleep)
Definition esp_lcd_port.c:289
esp_err_t esp_lcd_panel_set_brightness(esp_lcd_panel_handle_t panel, int brightness)
Definition esp_lcd_port.c:295
esp_err_t esp_lcd_panel_set_gap(esp_lcd_panel_handle_t panel, int x_gap, int y_gap)
Definition esp_lcd_port.c:271
esp_err_t esp_lcd_panel_disp_on_off(esp_lcd_panel_handle_t panel, bool on_off)
Definition esp_lcd_port.c:283
esp_err_t esp_lcd_panel_reset(esp_lcd_panel_handle_t panel)
Definition esp_lcd_port.c:234
esp_err_t esp_lcd_panel_del(esp_lcd_panel_handle_t panel)
Definition esp_lcd_port.c:244
esp_err_t esp_lcd_panel_draw_bitmap(esp_lcd_panel_handle_t panel, int x_start, int y_start, int x_end, int y_end, const void *color_data)
Definition esp_lcd_port.c:249
esp_err_t esp_lcd_panel_init(esp_lcd_panel_handle_t panel)
Definition esp_lcd_port.c:239
Definition esp_lcd_port.c:50
#define sleep
Definition unistd.h:53
Generated from commit: vsfteam/vsf@c3767bf