# lv_nuttx_libuv.h (/api/drivers/nuttx/lv_nuttx_libuv_h)



<ApiSummary functions="2" structs="1" />

Functions [#functions]

<ApiMember kind="function" name="lv_nuttx_uv_init" file="drivers/nuttx/lv_nuttx_libuv.h" line="46" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/drivers/nuttx/lv_nuttx_libuv.h#L46">
  lv_nuttx_uv_init [#lv_nuttx_uv_init]

  Initialize the uv\_loop using the provided configuration information.

  ```c title=" " lineNumbers=1
  void * lv_nuttx_uv_init(lv_nuttx_uv_t *uv_info)
  ```

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

  | Name      | Type                                                       | Description                                                                  |
  | --------- | ---------------------------------------------------------- | ---------------------------------------------------------------------------- |
  | `uv_info` | <ApiLink name="lv_nuttx_uv_t" display="lv_nuttx_uv_t *" /> | Pointer to the <ApiLink name="lv_nuttx_uv_t" /> structure to be initialized. |
</ApiMember>

<ApiMember kind="function" name="lv_nuttx_uv_deinit" file="drivers/nuttx/lv_nuttx_libuv.h" line="52" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/drivers/nuttx/lv_nuttx_libuv.h#L52">
  lv_nuttx_uv_deinit [#lv_nuttx_uv_deinit]

  Deinitialize the uv\_loop configuration for NuttX porting layer.

  ```c title=" " lineNumbers=1
  void lv_nuttx_uv_deinit(void **data)
  ```

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

  | Name   | Type      | Description           |
  | ------ | --------- | --------------------- |
  | `data` | `void **` | Pointer to user data. |
</ApiMember>

Structs [#structs]

<ApiMember kind="struct" name="lv_nuttx_uv_t">
  lv_nuttx_uv_t [#lv_nuttx_uv_t]

  | Member  | Type                                                     | Description |
  | ------- | -------------------------------------------------------- | ----------- |
  | `loop`  | `void *`                                                 |             |
  | `disp`  | <ApiLink name="lv_display_t" display="lv_display_t *" /> |             |
  | `indev` | <ApiLink name="lv_indev_t" display="lv_indev_t *" />     |             |
</ApiMember>

<TypeUsedBy name="lv_nuttx_uv_t" count="1">
  * `lv_nuttx_uv_init` — param `uv_info`
</TypeUsedBy>

Dependencies [#dependencies]

<FileIncludes includes="[&#x22;lv_display.h&#x22;, &#x22;lv_indev.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_group.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;]" />
