nt9856x/rtos/code/application/source/cardv/SrcCode/System/sys_fastboot.h
2023-05-17 15:33:39 +08:00

29 lines
732 B
C
Executable File

#ifndef SYS_FASTBOOT_H
#define SYS_FASTBOOT_H
typedef enum _BOOT_INIT_ {
BOOT_INIT_SYSTEM,
BOOT_INIT_SENSOR,
BOOT_INIT_CAPTURE,
BOOT_INIT_DISPLAY,
BOOT_INIT_STORAGE,
BOOT_INIT_FILESYSOK,
BOOT_INIT_FILENAMINGOK,
BOOT_INIT_MEIDA_ENCODER,
BOOT_INIT_MEIDA_DECODER,
BOOT_INIT_BOOTLOGO,
BOOT_INIT_OTHERS,
BOOT_FLOW_BOOT,
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