/** Header file of background job. Background job export variables and function prototypes. @file NvtBack.h @ingroup mINvtUser @note Nothing (or anything need to be mentioned). Copyright Novatek Microelectronics Corp. 2011. All rights reserved. */ #ifndef NVTBACK_H #define NVTBACK_H #include #include "NVTEvent.h" #include "NVTReturn.h" //extern void NvtBack_InstallID(void) _SECTION(".kercfg_text"); /** @addtogroup mINvtUser */ //@{ /** Background execution function prototype */ typedef UINT32(* BKG_FUNC_PTR)(void); /** Background job execution table entry */ typedef struct _BKG_JOB_ENTRY { NVTEVT event; ///< The event to start the background job BKG_FUNC_PTR pfn; ///< The function pointer of background job } BKG_JOB_ENTRY; /** Background function table */ typedef struct _BKG_OBJ { BKG_JOB_ENTRY *pDefaultFuncTbl; ///< Default background function table. set to NULL if not used UINT32 done_event; ///< user define background done post event } BKG_OBJ; /** The return parameter index while finish backgroun job. Background task would post event with parameter to User Task,when background done. */ //@{ #define ONDONE_PARAM_INDEX_CMD 0 ///