lv_draw_eve_target.h

API reference for lv_draw_eve_target.h

Report on GitHub

Enums

lv_draw_eve_operation_t

NameDescription
LV_DRAW_EVE_OPERATION_POWERDOWN_SETset the "PD_N" pin low
LV_DRAW_EVE_OPERATION_POWERDOWN_CLEARset the "PD_N" pin high
LV_DRAW_EVE_OPERATION_CS_ASSERTset the "CS_N" pin low
LV_DRAW_EVE_OPERATION_CS_DEASSERTset the "CS_N" pin high
LV_DRAW_EVE_OPERATION_SPI_SENDsend length bytes of data over SPI
LV_DRAW_EVE_OPERATION_SPI_RECEIVEreceive length bytes into data from SPI

Structs

struct

lv_draw_eve_parameters_t

MemberTypeDescription
hor_resuint16_tactive display width
ver_resuint16_tactive display height
hcycleuint16_ttotal number of clocks per line, incl front/back porch
hoffsetuint16_tstart of active line
hsync0uint16_tstart of horizontal sync pulse
hsync1uint16_tend of horizontal sync pulse
vcycleuint16_ttotal number of lines per screen, including pre/post
voffsetuint16_tstart of active screen
vsync0uint16_tstart of vertical sync pulse
vsync1uint16_tend of vertical sync pulse
swizzleuint8_tFT8xx output to LCD - pin order
pclkpoluint8_tLCD data is clocked in on this PCLK edge
cspreaduint8_thelps with noise, when set to 1 fewer signals are changed simultaneously, reset-default: 1
pclkuint8_t60MHz / pclk = pclk frequency
has_crystalboolhas an external clock crystal
has_gt911boolhas a touch controller
backlight_pwmuint8_tbacklight PWM duty cycle 0 = off, 128 = max
backlight_frequint16_tbacklight PWM frequency. try 4000 if unsure
Used by 2 functions
  • lv_draw_eve_set_display_data — param params
  • lv_draw_eve_display_create — param params

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 — param op_cb
  • lv_draw_eve_display_create — param op_cb

Dependencies

Indirect dependencies

How is this guide?

Last updated on

On this page