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



<ApiSummary functions="1" />

Functions [#functions]

<ApiMember kind="function" name="lv_tft_espi_create" file="drivers/display/tft_espi/lv_tft_espi.h" line="31" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/drivers/display/tft_espi/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`        | <ApiLink name="uint32_t" /> |
  | `ver_res`        | <ApiLink name="uint32_t" /> |
  | `buf`            | `void *`                    |
  | `buf_size_bytes` | <ApiLink name="uint32_t" /> |
</ApiMember>

Dependencies [#dependencies]

<FileIncludes includes="[&#x22;lv_display.h&#x22;]" includedBy="[&#x22;lv_drivers.h&#x22;]" transitiveIncludes="[&#x22;lv_area.h&#x22;, &#x22;lv_array.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_conf_kconfig.h&#x22;, &#x22;lv_event.h&#x22;, &#x22;lv_ll.h&#x22;, &#x22;lv_log.h&#x22;, &#x22;lv_math.h&#x22;, &#x22;lv_mem.h&#x22;, &#x22;lv_palette.h&#x22;, &#x22;lv_string.h&#x22;, &#x22;lv_tick.h&#x22;, &#x22;lv_timer.h&#x22;, &#x22;lv_types.h&#x22;]" />
