123456789101112131415161718192021222324252627282930313233343536 |
- /********************************************************************************
- * 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,
- CHINA_NONE
- }YUNYINGSHANG_DEF;
- extern OS_TID idModemTask;
- extern U64 stkModemTask[MODEM_TASK_STK_SIZE];
- extern OS_TID idModemUartTask;
- extern U64 stkModemUartTask[MODEM_UART_TASK_STK_SIZE];
- extern YUNYINGSHANG_DEF thisYunYingShang;
- extern OS_SEM ModemUartSem;
- extern unsigned char g_ucModemTaskEn;
- __task void ModemUartTask(void);
- __task void ModemTask(void);
- void Modem_Stopinit();
- //-------------------------------------------------------------------------------
- #endif
-
|