# lv_pxp_cfg.h (/api/private/draw/nxp/pxp/lv_pxp_cfg_h)



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

Functions [#functions]

<ApiMember kind="function" name="lv_pxp_init" file="private/draw/nxp/pxp/lv_pxp_cfg.h" line="72" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/src/draw/nxp/pxp/lv_pxp_cfg.h#L72">
  lv_pxp_init [#lv_pxp_init]

  Reset and initialize PXP device. This function should be called as a part of display init sequence.

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

<ApiMember kind="function" name="lv_pxp_deinit" file="private/draw/nxp/pxp/lv_pxp_cfg.h" line="77" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/src/draw/nxp/pxp/lv_pxp_cfg.h#L77">
  lv_pxp_deinit [#lv_pxp_deinit]

  Disable PXP device. Should be called during display deinit sequence.

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

<ApiMember kind="function" name="lv_pxp_reset" file="private/draw/nxp/pxp/lv_pxp_cfg.h" line="82" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/src/draw/nxp/pxp/lv_pxp_cfg.h#L82">
  lv_pxp_reset [#lv_pxp_reset]

  Reset PXP device.

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

<ApiMember kind="function" name="lv_pxp_run" file="private/draw/nxp/pxp/lv_pxp_cfg.h" line="87" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/src/draw/nxp/pxp/lv_pxp_cfg.h#L87">
  lv_pxp_run [#lv_pxp_run]

  Clear cache and start PXP.

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

<ApiMember kind="function" name="lv_pxp_wait" file="private/draw/nxp/pxp/lv_pxp_cfg.h" line="92" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/src/draw/nxp/pxp/lv_pxp_cfg.h#L92">
  lv_pxp_wait [#lv_pxp_wait]

  Wait for PXP completion.

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

Structs [#structs]

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

  NXP PXP device configuration.

  | Member                 | Type            | Description                                  |
  | ---------------------- | --------------- | -------------------------------------------- |
  | `pxp_interrupt_init`   | `void(*)(void)` | Callback for PXP interrupt initialization    |
  | `pxp_interrupt_deinit` | `void(*)(void)` | Callback for PXP interrupt de-initialization |
  | `pxp_run`              | `void(*)(void)` | Callback for PXP start                       |
  | `pxp_wait`             | `void(*)(void)` | Callback for waiting of PXP completion       |
</ApiMember>

Macros [#macros]

<ApiMember kind="macro" name="PXP_ID" file="private/draw/nxp/pxp/lv_pxp_cfg.h" line="38" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/src/draw/nxp/pxp/lv_pxp_cfg.h#L38">
  PXP_ID [#pxp_id]

  ```c title=" " lineNumbers=1
  #define PXP_ID PXP
  ```

  Copyright 2020-2023 NXP

  SPDX-License-Identifier: MIT PXP module instance to use
</ApiMember>

<ApiMember kind="macro" name="PXP_IRQ_ID" file="private/draw/nxp/pxp/lv_pxp_cfg.h" line="41" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/src/draw/nxp/pxp/lv_pxp_cfg.h#L41">
  PXP_IRQ_ID [#pxp_irq_id]

  ```c title=" " lineNumbers=1
  #define PXP_IRQ_ID PXP_IRQn
  ```

  PXP interrupt line ID
</ApiMember>

Dependencies [#dependencies]

<FileIncludes includes="[&#x22;lvgl_public.h&#x22;, &#x22;fsl_cache.h&#x22;, &#x22;fsl_pxp.h&#x22;]" includedBy="[&#x22;lv_pxp_osa.h&#x22;, &#x22;lvgl_private.h&#x22;]" />
