/** * @file main_common.h * @author Alvin Young (impressionyang@outlook.com) * @brief * @version 0.1 * @date 2024-11-25 * * _ _ * (_)_ _ ___ _______ ___ ___ (_)__ ___ __ _____ ____ ___ _ * / / ' \/ _ \/ __/ -_|_-<(_- * Date Version Author Description * 2024-11-25 v1.0 Alvin Young 首次创建 * * */ /* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __MAIN_COMMON_H__ #define __MAIN_COMMON_H__ #ifdef __cplusplus extern "C" { #endif /* Includes ------------------------------------------------------------------*/ #include #include "imp_out_port.h" /* define --------------------------------------------------------------------*/ #define IMP_TASK_ID_IDLE (0) #define IMP_TASK_ID_MAIN_TASK (1) #define IMP_TASK_ID_EXT_TRANS_SERVICE_TASK (2) #define IMP_TASK_ID_DISP_SERVICE_TASK (3) #define IMP_TASK_ID_AUDIO_SERVICE_TASK (4) #define IMP_TASK_ID_SWITCH_CONTROL_TASK (5) /* typedef -------------------------------------------------------------------*/ /* variables -----------------------------------------------------------------*/ extern char* imp_main_task_table[]; /* Private function(only *.c) -----------------------------------------------*/ /* Exported functions --------------------------------------------------------*/ uint8_t imp_main_common_init(); int cdc_printf(const char* fmt, ...); #ifdef __cplusplus } #endif #endif //__MAIN_COMMON_H__ /* * EOF */