NetTask.h 900 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /********************************************************************************
  2. * File Name: NetTask.h
  3. * Function Describe: Header file for NetTask.c
  4. * Explain:
  5. * Writer: ShiLiangWen
  6. * Date: 2015-4-12
  7. *******************************************************************************/
  8. #ifndef __NET_TASK_H
  9. #define __NET_TASK_H
  10. /************************************file begin*******************************/
  11. #include <rtl.h>
  12. #include "MsgQueue.h"
  13. extern OS_TID idNetTask;
  14. extern int g_iCSQ;
  15. extern int g_iModemVer;
  16. typedef struct SUTDL
  17. {
  18. union {
  19. struct { unsigned char b1,b2,b3,b4; }ucData;
  20. unsigned long ulData;
  21. }Data;
  22. }SUTDL;
  23. typedef struct SUTDS
  24. {
  25. union {
  26. struct { unsigned char b1,b2; }ucData;
  27. unsigned short usData;
  28. }Data;
  29. }SUTDS;
  30. __task void NetTask(void);
  31. /************************************file end ******************************************/
  32. #endif