# lv_init.h (/api/lv_init_h)



<ApiSummary functions="3" />

Functions [#functions]

<ApiMember kind="function" name="lv_init" file="lv_init.h" line="35" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/lv_init.h#L35">
  lv_init [#lv_init]

  Initialize LVGL library. Should be called before any other LVGL related function.

  ```c title=" " lineNumbers=1
  void lv_init(void)
  ```
</ApiMember>

<ApiMember kind="function" name="lv_deinit" file="lv_init.h" line="40" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/lv_init.h#L40">
  lv_deinit [#lv_deinit]

  Deinit the 'lv' library

  ```c title=" " lineNumbers=1
  void lv_deinit(void)
  ```
</ApiMember>

<ApiMember kind="function" name="lv_is_initialized" file="lv_init.h" line="45" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/lv_init.h#L45">
  lv_is_initialized [#lv_is_initialized]

  Returns whether the 'lv' library is currently initialized

  ```c title=" " lineNumbers=1
  bool lv_is_initialized(void)
  ```
</ApiMember>

Dependencies [#dependencies]

<FileIncludes includes="[&#x22;lv_conf_internal.h&#x22;, &#x22;lv_types.h&#x22;]" transitiveIncludes="[&#x22;lv_conf_kconfig.h&#x22;]" />
