nt9856x/rtos/code/application/source/cardv/SrcCode/System/sys_fastboot.h
2023-12-29 11:51:11 +08:00

33 lines
831 B
C

#ifndef SYS_FASTBOOT_H
#define SYS_FASTBOOT_H
typedef enum _BOOT_INIT_ {
BOOT_INIT_INVALID = -1,
BOOT_INIT_SYSTEM = 0,
BOOT_INIT_SENSOR,
BOOT_INIT_CAPTURE,
BOOT_INIT_DISPLAY,
BOOT_INIT_STORAGE,
BOOT_INIT_FILESYSOK,
BOOT_INIT_FILESYSOK_2,
BOOT_INIT_FILENAMINGOK,
BOOT_INIT_FILENAMINGOK_2,
BOOT_INIT_MEIDA_ENCODER,
BOOT_INIT_MEIDA_DECODER,
BOOT_INIT_BOOTLOGO,
BOOT_INIT_OTHERS,
BOOT_FLOW_BOOT,
BOOT_FLOW_MOVIE2,
BOOT_INIT_MAX_CNT = 32, //flag max bit cnt is 32
ENUM_DUMMY4WORD(BOOT_INIT),
} BOOT_INIT;
void fastboot_init(void);
void fastboot_set_done(BOOT_INIT boot_init);
void fastboot_wait_done(BOOT_INIT boot_init);
INT32 fastboot_wait_done_timeout(BOOT_INIT boot_init, INT32 timeout_ms);
void fastboot_clear_done(BOOT_INIT boot_init);
void fastboot_msg_en(int en);
void fastboot_thread(void *p_param);
#endif