lv_st7796.h
API reference for lv_st7796.h
This driver is just a wrapper around the generic MIPI compatible LCD controller driver
Summary
Functions
lv_st7796_set_gap
Set gap, i.e., the offset of the (0,0) pixel in the VRAM
void lv_st7796_set_gap(lv_display_t *disp, uint16_t x, uint16_t y)| Name | Type | Description |
|---|---|---|
disp | lv_display_t * | display object |
x | uint16_t | x offset |
y | uint16_t | y offset |
lv_st7796_set_invert
Set color inversion
void lv_st7796_set_invert(lv_display_t *disp, bool invert)| Name | Type | Description |
|---|---|---|
disp | lv_display_t * | display object |
invert | bool | false: normal, true: invert |
lv_st7796_set_gamma_curve
Set gamma curve
void lv_st7796_set_gamma_curve(lv_display_t *disp, uint8_t gamma)| Name | Type | Description |
|---|---|---|
disp | lv_display_t * | display object |
gamma | uint8_t | gamma curve |
Typedefs
lv_st7796_send_cmd_cb_t
typedef lv_lcd_send_cmd_cb_t lv_st7796_send_cmd_cb_tUsed by 1 function
lv_st7796_create— paramsend_cmd_cb
lv_st7796_send_color_cb_t
typedef lv_lcd_send_color_cb_t lv_st7796_send_color_cb_tUsed by 1 function
lv_st7796_create— paramsend_color_cb
Dependencies
How is this guide?
Last updated on