123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- /********************************************************************************
- * File Name: ModemTask.h
- * Function Describe: Header file for ModemTask.c
- * Explain:
- * Writer: ShiLiangWen
- * Date: 2015-8-2
- *******************************************************************************/
- #ifndef __MODEM_TASK_H
- #define __MODEM_TASK_H
- //-------------------------------------------------------------------------------
- #include <rtl.h>
-
- #define MODEM_TASK_STK_SIZE 1024/8
- #define MODEM_UART_TASK_STK_SIZE 1024/8
-
- typedef enum
- {
- CHINA_TELECOM,//µçÐÅ
- CHINA_MOBILE,//Òƶ¯
- CHINA_UNICOM,//ÁªÍ¨
- FOREIGN_ALL, //¹úÍâ
- CHINA_NONE//ÎÞ
- }YUNYINGSHANG_DEF;
- typedef struct{
- unsigned char feedBackStart:1;
- unsigned short feedID;
- unsigned short feedliushuiID;
- unsigned char result;
- }__attribute__ ((packed)) FEEDBACK_DEF;
- extern FEEDBACK_DEF sutFeed;
- extern YUNYINGSHANG_DEF thisYunYingShang;
- extern OS_TID idModemTask;
- extern U64 stkModemTask[MODEM_TASK_STK_SIZE];
- extern OS_TID idModemUartTask;
- extern U64 stkModemUartTask[MODEM_UART_TASK_STK_SIZE];
- extern OS_SEM ModemUartSem;
- extern unsigned char g_ucModemTaskEn;
- extern unsigned char g_uGtTaskEn;
- extern unsigned char g_uGtFactory;
- extern unsigned char g_ucQuitModemInitNow;
- __task void ModemUartTask(void);
- __task void ModemTask(void);
- void Modem_Stopinit();
- void GtFactory_XIEHAO(char type);
- void Vbatsend();
- //-------------------------------------------------------------------------------
- #endif
|