__s32 Image_exit(__u32 sel) { DE_BE_DisableINT(sel, DE_IMG_REG_LOAD_FINISH); BSP_disp_sprite_exit(sel); image_clk_exit(sel); return DIS_SUCCESS; }
__s32 Image_exit(__u32 screen_id) { DE_BE_DisableINT(screen_id, DE_IMG_REG_LOAD_FINISH); //bsp_disp_sprite_exit(screen_id); image_clk_exit(screen_id); return DIS_SUCCESS; }
__s32 Image_init(__u32 sel) { image_clk_init(sel); image_clk_on(sel, 0); //when access image registers, must open MODULE CLOCK of image DE_BE_Reg_Init(sel); BSP_disp_sprite_init(sel); DE_BE_reg_auto_load_en(sel, 0); DE_BE_DisableINT(sel, DE_IMG_REG_LOAD_FINISH); image_clk_off(sel, 0); return DIS_SUCCESS; }
__s32 Image_exit(__u32 sel) { DE_BE_DisableINT(sel, DE_IMG_IRDY_IE); if(sel == 0) { BSP_disp_sprite_exit(sel); } image_clk_exit(sel); return DIS_SUCCESS; }