lv_draw_eve_target.h
API reference for lv_draw_eve_target.h
Enums
lv_draw_eve_operation_t
| Name | Description |
|---|---|
LV_DRAW_EVE_OPERATION_POWERDOWN_SET | set the "PD_N" pin low |
LV_DRAW_EVE_OPERATION_POWERDOWN_CLEAR | set the "PD_N" pin high |
LV_DRAW_EVE_OPERATION_CS_ASSERT | set the "CS_N" pin low |
LV_DRAW_EVE_OPERATION_CS_DEASSERT | set the "CS_N" pin high |
LV_DRAW_EVE_OPERATION_SPI_SEND | send length bytes of data over SPI |
LV_DRAW_EVE_OPERATION_SPI_RECEIVE | receive length bytes into data from SPI |
Structs
struct
lv_draw_eve_parameters_t
| Member | Type | Description |
|---|---|---|
hor_res | uint16_t | active display width |
ver_res | uint16_t | active display height |
hcycle | uint16_t | total number of clocks per line, incl front/back porch |
hoffset | uint16_t | start of active line |
hsync0 | uint16_t | start of horizontal sync pulse |
hsync1 | uint16_t | end of horizontal sync pulse |
vcycle | uint16_t | total number of lines per screen, including pre/post |
voffset | uint16_t | start of active screen |
vsync0 | uint16_t | start of vertical sync pulse |
vsync1 | uint16_t | end of vertical sync pulse |
swizzle | uint8_t | FT8xx output to LCD - pin order |
pclkpol | uint8_t | LCD data is clocked in on this PCLK edge |
cspread | uint8_t | helps with noise, when set to 1 fewer signals are changed simultaneously, reset-default: 1 |
pclk | uint8_t | 60MHz / pclk = pclk frequency |
has_crystal | bool | has an external clock crystal |
has_gt911 | bool | has a touch controller |
backlight_pwm | uint8_t | backlight PWM duty cycle 0 = off, 128 = max |
backlight_freq | uint16_t | backlight PWM frequency. try 4000 if unsure |
Used by 2 functions
lv_draw_eve_set_display_data— paramparamslv_draw_eve_display_create— paramparams
Typedefs
lv_draw_eve_operation_cb_t
typedef void(* lv_draw_eve_operation_cb_t) (lv_display_t *disp, lv_draw_eve_operation_t operation, void *data, uint32_t length)Used by 2 functions
lv_draw_eve_set_display_data— paramop_cblv_draw_eve_display_create— paramop_cb
Dependencies
lv_conf_internal.hlv_types.hstdbool.hstdint.h
Indirect dependencies
How is this guide?
Last updated on