lv_display_private.h
API reference for lv_display_private.h
See Also: Public APIThis is the private implementation. See the public header for the stable interface.lv_display.h
Structs
struct
_lv_display_t
| Member | Type | Description |
|---|---|---|
ext_data | lv_ext_data_t | |
hor_res | int32_t | Horizontal resolution. |
ver_res | int32_t | Vertical resolution. |
physical_hor_res | int32_t | Horizontal resolution of the full / physical display. Set to -1 for fullscreen mode. |
physical_ver_res | int32_t | Vertical resolution of the full / physical display. Set to -1 for fullscreen mode. |
offset_x | int32_t | Horizontal offset from the full / physical display. Set to 0 for fullscreen mode. |
offset_y | int32_t | Vertical offset from the full / physical display. Set to 0 for fullscreen mode. |
dpi | uint32_t | DPI (dot per inch) of the display. Default value is LV_DPI_DEF. |
buf_1 | lv_draw_buf_t * | |
buf_2 | lv_draw_buf_t * | |
buf_3 | lv_draw_buf_t * | |
buf_act | lv_draw_buf_t * | Internal, used by the library |
flush_cb | lv_display_flush_cb_t | MANDATORY: Write the internal buffer (draw_buf) to the display. 'lv_display_flush_ready()' has to be called when finished |
flush_wait_cb | lv_display_flush_wait_cb_t | Used to wait while flushing is ready. It can do any complex logic to wait, including semaphores, mutexes, polling flags, etc. If not set flushing flag is used which can be cleared with lv_display_flush_ready() |
flushing | volatile int | 1: flushing is in progress. (It can't be a bit field because when it's cleared from IRQ Read-Modify-Write issue might occur) |
flushing_last | volatile int | 1: It was the last chunk to flush. (It can't be a bit field because when it's cleared from IRQ Read-Modify-Write issue might occur) |
last_area | volatile uint32_t | 1: last area is being rendered |
last_part | volatile uint32_t | 1: last part of the current area is being rendered |
sync_cb | lv_display_sync_cb_t | Used to synchronize changes between frame buffers between renders. Called for each area needing to be synchronized before rendering next frame. |
sync_wait_cb | lv_display_sync_wait_cb_t | Used to wait while syncing is ready. It can do any complex logic to wait, including semaphores, mutexes, polling flags, etc. If not set syncing flag is used which can be cleared with lv_display_sync_ready() |
syncing | volatile int | 1: syncing is in progress. (It can't be a bit field because when it's cleared from IRQ Read-Modify-Write issue might occur) |
syncing_last | volatile int | 1: It was the last chunk to sync. (It can't be a bit field because when it's cleared from IRQ Read-Modify-Write issue might occur) |
sync_areas | lv_ll_t | Sync areas (redrawn during last refresh) |
render_mode | lv_display_render_mode_t | |
antialiasing | uint32_t | 1: anti-aliasing is enabled on this display. |
tile_cnt | uint32_t | Divide the display buffer into these number of tiles |
stride_is_auto | uint32_t | 1: The stride of the buffers was not set explicitly. |
rendering_in_progress | uint32_t | 1: The current screen rendering is in progress |
color_format | lv_color_format_t | |
inv_areas | lv_area_t[32] | Invalidated (marked to redraw) areas |
inv_area_joined | uint8_t[32] | |
inv_p | uint32_t | |
inv_en_cnt | int32_t | |
_static_buf1 | lv_draw_buf_t | Used when user pass in a raw buffer as display draw buffer |
_static_buf2 | lv_draw_buf_t | |
layer_head | lv_layer_t * | |
layer_init | void(*)(lv_display_t *disp, lv_layer_t *layer) | |
layer_deinit | void(*)(lv_display_t *disp, lv_layer_t *layer) | |
screens | lv_obj_t ** | Screens of the display Array of screen objects. |
sys_layer | lv_obj_t * | |
top_layer | lv_obj_t * | |
act_scr | lv_obj_t * | Currently active screen on this display |
bottom_layer | lv_obj_t * | |
prev_scr | lv_obj_t * | Previous screen. Used during screen animations |
scr_to_load | lv_obj_t * | The screen prepared to load in lv_screen_load_anim |
screen_cnt | uint32_t | |
draw_prev_over_act | uint8_t | |
del_prev | uint8_t | 1: Draw previous screen over active screen |
driver_data | void * | 1: Automatically delete the previous screen when the screen load animation is ready Custom user data |
user_data | void * | Custom user data |
event_list | lv_event_list_t | |
rotation | uint32_t | Element of lv_display_rotation_t |
matrix_rotation | uint32_t | 1: Use matrix for display rotation |
theme | lv_theme_t * | The theme assigned to the screen |
refr_timer | lv_timer_t * | A timer which periodically checks the dirty areas and refreshes them |
last_activity_time | uint32_t | Last time when there was activity on this display |
refreshed_area | lv_area_t | The area being refreshed |
vsync_count | uint32_t | |
perf_label | lv_obj_t * | |
perf_sysmon_backend | lv_sysmon_backend_data_t | |
perf_sysmon_info | lv_sysmon_perf_info_t | |
mem_label | lv_obj_t * |
Used by 1 function
lv_indev_set_display— paramdisp
Macros
LV_INV_BUF_SIZE
#define LV_INV_BUF_SIZE 32Buffer size for invalid areas
Dependencies
Indirect dependencies
lv_anim.hlv_area.hlv_array.hlv_assert.hlv_bidi.hlv_color.hlv_color_op.hlv_conf_internal.hlv_conf_kconfig.hlv_draw_arc.hlv_draw_blur.hlv_draw_buf.hlv_draw_image.hlv_draw_label.hlv_draw_line.hlv_draw_rect.hlv_draw_triangle.hlv_event.hlv_flex.hlv_font.hlv_fs.hlv_grad.hlv_grid.hlv_group.hlv_image_decoder.hlv_image_dsc.hlv_indev.hlv_layout.hlv_ll.hlv_log.hlv_math.hlv_matrix.hlv_mem.hlv_obj_class.hlv_obj_draw.hlv_obj_event.hlv_obj_pos.hlv_obj_property.hlv_obj_property_names.hlv_obj_scroll.hlv_obj_style.hlv_obj_style_gen.hlv_obj_tree.hlv_observer.hlv_palette.hlv_profiler.hlv_profiler_builtin.hlv_sprintf.hlv_string.hlv_style.hlv_style_gen.hlv_style_properties.hlv_symbol_def.hlv_sysmon.hlv_text.hlv_tick.hlv_timer.h
How is this guide?
Last updated on