| 1 | /** |
| 2 | * @file lv_pxp_osa.h |
| 3 | * |
| 4 | */ |
| 5 | |
| 6 | /** |
| 7 | * Copyright 2020, 2022-2023 NXP |
| 8 | * |
| 9 | * SPDX-License-Identifier: MIT |
| 10 | */ |
| 11 | |
| 12 | #ifndef LV_PXP_OSA_H |
| 13 | #define LV_PXP_OSA_H |
| 14 | |
| 15 | #ifdef __cplusplus |
| 16 | extern "C" { |
| 17 | #endif |
| 18 | |
| 19 | /********************* |
| 20 | * INCLUDES |
| 21 | *********************/ |
| 22 | |
| 23 | #include "../../../lv_conf_internal.h" |
| 24 | |
| 25 | #if LV_USE_PXP |
| 26 | #if LV_USE_DRAW_PXP || LV_USE_ROTATE_PXP |
| 27 | #include "lv_pxp_cfg.h" |
| 28 | |
| 29 | /********************* |
| 30 | * DEFINES |
| 31 | *********************/ |
| 32 | |
| 33 | /********************** |
| 34 | * TYPEDEFS |
| 35 | **********************/ |
| 36 | |
| 37 | /********************** |
| 38 | * GLOBAL PROTOTYPES |
| 39 | **********************/ |
| 40 | |
| 41 | /** |
| 42 | * PXP device interrupt handler. Used to check PXP task completion status. |
| 43 | */ |
| 44 | void PXP_IRQHandler(void); |
| 45 | |
| 46 | /** |
| 47 | * Get the PXP default configuration. |
| 48 | */ |
| 49 | pxp_cfg_t * pxp_get_default_cfg(void); |
| 50 | |
| 51 | /********************** |
| 52 | * MACROS |
| 53 | **********************/ |
| 54 | |
| 55 | #endif /*LV_USE_DRAW_PXP || LV_USE_ROTATE_PXP*/ |
| 56 | #endif /*LV_USE_PXP*/ |
| 57 | |
| 58 | #ifdef __cplusplus |
| 59 | } /*extern "C"*/ |
| 60 | #endif |
| 61 | |
| 62 | #endif /*LV_PXP_OSA_H*/ |