lv_disp_drv_t is only used within i2c_oled sample.
 
Symbols
loading...
Files
loading...
SummarySyntaxReferences

Fields

Field
Declared as
Description
Horizontal resolution.
Vertical resolution.
Horizontal resolution of the full / physical display. Set to -1 for fullscreen mode.
Vertical resolution of the full / physical display. Set to -1 for fullscreen mode.
Horizontal offset from the full / physical display. Set to 0 for fullscreen mode.
Vertical offset from the full / physical display. Set to 0 for fullscreen mode.
Pointer to a buffer initialized with `lv_disp_draw_buf_init()`. LVGL will use this buffer(s) to draw the screens contents.
uint32_t : 1
1: Use screen-sized buffers and draw to absolute coordinates.
uint32_t : 1
1: Always make the whole screen redrawn.
uint32_t : 1
1: use software rotation (slower).
uint32_t : 1
1: anti-aliasing is enabled on this display.
uint32_t : 2
1: turn the display by 90 degree. @warning Does not update coordinates for you!.
uint32_t : 1
uint32_t : 10
Handle if the screen doesn't have a solid (opa == LV_OPA_COVER) background. Use only if required because it's slower.
void (*)(struct _lv_disp_drv_t * disp_drv, const lv_area_t * area, lv_color_t * color_p)
DPI (dot per inch) of the display. Default value is `LV_DPI_DEF`. MANDATORY: Write the internal buffer (draw_buf) to the display. 'lv_disp_flush_ready()' has to be called when finished.
void (*)(struct _lv_disp_drv_t * disp_drv, lv_area_t * area)
OPTIONAL: Extend the invalidated areas to match with the display drivers requirements E.g. round `y` to, 8, 16 ..) on a monochrome display.
void (*)(struct _lv_disp_drv_t * disp_drv, uint8_t * buf, lv_coord_t buf_w, lv_coord_t x, lv_coord_t y, lv_color_t color, lv_opa_t opa)
OPTIONAL: Set a pixel in a buffer according to the special requirements of the display Can be used for color format not supported in LittelvGL. E.g. 2 bit -> 4 gray scales.
void (*)(struct _lv_disp_drv_t * disp_drv, uint8_t * buf, uint32_t size)
void (*)(struct _lv_disp_drv_t * disp_drv, uint32_t time, uint32_t px)
OPTIONAL: Called after every refresh cycle to tell the rendering and flushing time + the number of flushed pixels.
void (*)(struct _lv_disp_drv_t * disp_drv)
OPTIONAL: Called periodically while lvgl waits for operation to be completed. For example flushing or GPU User can execute very simple tasks here or yield the task.
void (*)(struct _lv_disp_drv_t * disp_drv)
OPTIONAL: Called when lvgl needs any CPU cache that affects rendering to be cleaned.
void (*)(struct _lv_disp_drv_t * disp_drv)
OPTIONAL: called when driver parameters are updated.
void (*)(struct _lv_disp_drv_t * disp_drv)
OPTIONAL: called when start rendering.
On CHROMA_KEYED images this color will be transparent. `LV_COLOR_CHROMA_KEY` by default. (lv_conf.h).
void (*)(struct _lv_disp_drv_t * disp_drv, lv_draw_ctx_t * draw_ctx)
void (*)(struct _lv_disp_drv_t * disp_drv, lv_draw_ctx_t * draw_ctx)
size_t
void *
Custom display driver user data.

References

from examples