lv_ft81x.h
API reference for lv_ft81x.h
Functions
lv_ft81x_get_user_data
Get the user_data parameter that was passed to lv_ft81x_create. Useful in the SPI callback.
void * lv_ft81x_get_user_data(lv_display_t *disp)| Name | Type | Description |
|---|---|---|
disp | lv_display_t * | pointer to the ft81x display |
Returns: void * — the user_data pointer
Enums
lv_ft81x_spi_operation_t
| Name |
|---|
LV_FT81X_SPI_OPERATION_CS_ASSERT |
LV_FT81X_SPI_OPERATION_CS_DEASSERT |
LV_FT81X_SPI_OPERATION_SEND |
LV_FT81X_SPI_OPERATION_RECEIVE |
Structs
struct
lv_ft81x_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 |
is_bt81x | bool | is a BT series model, not FT |
Used by 1 function
lv_ft81x_create— paramparams
Typedefs
lv_ft81x_spi_cb_t
typedef void(* lv_ft81x_spi_cb_t) (lv_display_t *disp, lv_ft81x_spi_operation_t operation, void *data, uint32_t length)Used by 1 function
lv_ft81x_create— paramspi_cb
Dependencies
How is this guide?
Last updated on