ModemTask.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /********************************************************************************
  2. * File Name: ModemTask.h
  3. * Function Describe: Header file for ModemTask.c
  4. * Explain:
  5. * Writer: ShiLiangWen
  6. * Date: 2015-8-2
  7. *******************************************************************************/
  8. #ifndef __MODEM_TASK_H
  9. #define __MODEM_TASK_H
  10. //-------------------------------------------------------------------------------
  11. #include <rtl.h>
  12. #define MODEM_TASK_STK_SIZE 1024/8
  13. #define MODEM_UART_TASK_STK_SIZE 1024/8
  14. typedef enum
  15. {
  16. CHINA_TELECOM,
  17. CHINA_MOBILE,
  18. CHINA_UNICOM,
  19. CHINA_NONE
  20. }YUNYINGSHANG_DEF;
  21. extern OS_TID idModemTask;
  22. extern U64 stkModemTask[MODEM_TASK_STK_SIZE];
  23. extern OS_TID idModemUartTask;
  24. extern U64 stkModemUartTask[MODEM_UART_TASK_STK_SIZE];
  25. extern YUNYINGSHANG_DEF thisYunYingShang;
  26. extern OS_SEM ModemUartSem;
  27. extern unsigned char g_ucModemTaskEn;
  28. __task void ModemUartTask(void);
  29. __task void ModemTask(void);
  30. void Modem_Stopinit();
  31. //-------------------------------------------------------------------------------
  32. #endif