# lv_tft_espi.h (/api/public/drivers/display/lv_tft_espi_h)



<ApiSummary functions="1" />

Functions [#functions]

<ApiMember kind="function" name="lv_tft_espi_create" file="public/drivers/display/lv_tft_espi.h" line="31" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/include/lvgl/drivers/display/lv_tft_espi.h#L31">
  lv_tft_espi_create [#lv_tft_espi_create]

  ```c title=" " lineNumbers=1
  lv_display_t * lv_tft_espi_create(uint32_t hor_res, uint32_t ver_res, void *buf, uint32_t buf_size_bytes)
  ```

  <span className="sr-only">
    Parameters
  </span>

  | Name             | Type       |
  | ---------------- | ---------- |
  | `hor_res`        | `uint32_t` |
  | `ver_res`        | `uint32_t` |
  | `buf`            | `void *`   |
  | `buf_size_bytes` | `uint32_t` |
</ApiMember>

Dependencies [#dependencies]

<FileIncludes includes="[&#x22;lv_display.h&#x22;]" includedBy="[&#x22;lvgl.h&#x22;]" transitiveIncludes="[&#x22;lv_area.h&#x22;, &#x22;lv_assert.h&#x22;, &#x22;lv_color.h&#x22;, &#x22;lv_color_op.h&#x22;, &#x22;lv_conf_internal.h&#x22;, &#x22;lv_event.h&#x22;, &#x22;lv_log.h&#x22;, &#x22;lv_math.h&#x22;, &#x22;lv_mem.h&#x22;, &#x22;lv_palette.h&#x22;, &#x22;lv_timer.h&#x22;, &#x22;lv_types.h&#x22;]" />
