/******************************************************************************** * File Name: Msg.h * Function Describe: Header file for Msg.c * Explain: * Writer: ShiLiangWen * Date: 2015-1-30 *******************************************************************************/ #ifndef __MSG_H #define __MSG_H /***********************************************************************************/ #define TASK_WAIT 0x12 #define TASK_PC_UPDATE 0x25 #define TASK_MODEM_UPDATE 0x36 #define TASK_GOTO_APP 0X58 typedef struct SUT_MSG { unsigned char Uart1Recv; unsigned char Uart2Recv; unsigned char Uart3Recv; unsigned char Tick10ms; unsigned char Tick500ms; unsigned char TaskStart; unsigned char KeyPress; }SUT_MSG; extern SUT_MSG sutMsg; extern unsigned char g_ucTask; extern unsigned char g_ucLastTask; extern unsigned char g_ucLoginServer; extern void TickMsg(void); extern void Tick500Msg(void); extern void StartMsg(void); extern void KeyMsg(void); extern void Uart1Msg(void); extern void Uart3Msg(void); extern void NewTask(unsigned char Task); /***********************************************************************************/ #endif /***********************************************************************************/