1234567891011121314151617181920212223242526272829303132333435363738394041 |
- /********************************************************************************
- * 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_DL_APP 0x34 //下载应用程序
- #define TASK_DL_FILES 0x56 //下载文件系统
- #define TASK_GOTO_APP 0X78 //运行应用程序
- 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 int g_iPcTaCt;
- extern int g_iPcTaFlag;
- extern unsigned long g_ulTick500Ct;
- extern void TickMsg(void);
- extern void Tick500Msg(void);
- extern void StartMsg(void);
- extern void KeyMsg(void);
- extern void Uart1Msg(void);
- extern void NewTask(unsigned char Task);
- /***********************************************************************************/
- #endif
- /***********************************************************************************/
|