1 /** 2 * @file lv_gpu_nxp_pxp_osa.h 3 * 4 */ 5 6 /** 7 * MIT License 8 * 9 * Copyright 2020, 2022 NXP 10 * 11 * Permission is hereby granted, free of charge, to any person obtaining a copy 12 * of this software and associated documentation files (the "Software"), to deal 13 * in the Software without restriction, including without limitation the rights to 14 * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 15 * the Software, and to permit persons to whom the Software is furnished to do so, 16 * subject to the following conditions: 17 * 18 * The above copyright notice and this permission notice (including the next paragraph) 19 * shall be included in all copies or substantial portions of the Software. 20 * 21 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 22 * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 23 * PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 24 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF 25 * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE 26 * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 27 * 28 */ 29 30 #ifndef LV_GPU_NXP_PXP_OSA_H 31 #define LV_GPU_NXP_PXP_OSA_H 32 33 #ifdef __cplusplus 34 extern "C" { 35 #endif 36 37 /********************* 38 * INCLUDES 39 *********************/ 40 41 #include "../../../lv_conf_internal.h" 42 43 #if LV_USE_GPU_NXP_PXP && LV_USE_GPU_NXP_PXP_AUTO_INIT 44 #include "lv_gpu_nxp_pxp.h" 45 46 /********************* 47 * DEFINES 48 *********************/ 49 50 /********************** 51 * TYPEDEFS 52 **********************/ 53 54 /********************** 55 * GLOBAL PROTOTYPES 56 **********************/ 57 58 /** 59 * PXP device interrupt handler. Used to check PXP task completion status. 60 */ 61 void PXP_IRQHandler(void); 62 63 /** 64 * Helper function to get the PXP default configuration. 65 */ 66 lv_nxp_pxp_cfg_t * lv_gpu_nxp_pxp_get_cfg(void); 67 68 /********************** 69 * MACROS 70 **********************/ 71 72 #endif /*LV_USE_GPU_NXP_PXP && LV_USE_GPU_NXP_PXP_AUTO_INIT*/ 73 74 #ifdef __cplusplus 75 } /*extern "C"*/ 76 #endif 77 78 #endif /*LV_GPU_NXP_PXP_OSA_H*/ 79