lv_draw_eve_target.h¶
Typedefs
-
typedef void (*lv_draw_eve_operation_cb_t)(lv_display_t *disp, lv_draw_eve_operation_t operation, void *data, uint32_t length)¶
Enums
-
enum lv_draw_eve_operation_t¶
Values:
-
enumerator LV_DRAW_EVE_OPERATION_POWERDOWN_SET¶
set the "PD_N" pin low
-
enumerator LV_DRAW_EVE_OPERATION_POWERDOWN_CLEAR¶
set the "PD_N" pin high
-
enumerator LV_DRAW_EVE_OPERATION_CS_ASSERT¶
set the "CS_N" pin low
-
enumerator LV_DRAW_EVE_OPERATION_CS_DEASSERT¶
set the "CS_N" pin high
-
enumerator LV_DRAW_EVE_OPERATION_SPI_SEND¶
send
length
bytes ofdata
over SPI
-
enumerator LV_DRAW_EVE_OPERATION_SPI_RECEIVE¶
receive
length
bytes intodata
from SPI
-
enumerator LV_DRAW_EVE_OPERATION_POWERDOWN_SET¶
-
struct lv_draw_eve_parameters_t¶
Public Members
-
uint16_t hor_res¶
active display width
-
uint16_t ver_res¶
active display height
-
uint16_t hcycle¶
total number of clocks per line, incl front/back porch
-
uint16_t hoffset¶
start of active line
-
uint16_t hsync0¶
start of horizontal sync pulse
-
uint16_t hsync1¶
end of horizontal sync pulse
-
uint16_t vcycle¶
total number of lines per screen, including pre/post
-
uint16_t voffset¶
start of active screen
-
uint16_t vsync0¶
start of vertical sync pulse
-
uint16_t vsync1¶
end of vertical sync pulse
-
uint8_t swizzle¶
FT8xx output to LCD - pin order
-
uint8_t pclkpol¶
LCD data is clocked in on this PCLK edge
-
uint8_t cspread¶
helps with noise, when set to 1 fewer signals are changed simultaneously, reset-default: 1
-
uint8_t pclk¶
60MHz / pclk = pclk frequency
-
bool has_crystal¶
has an external clock crystal
-
bool has_gt911¶
has a touch controller
-
uint8_t backlight_pwm¶
backlight PWM duty cycle 0 = off, 128 = max
-
uint16_t backlight_freq¶
backlight PWM frequency. try 4000 if unsure
-
uint16_t hor_res¶