AppTaskControl.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /****************************************************************************
  2. *
  3. * Copy right: Qx.Chen Jie
  4. * File name: AppTaskControl.h
  5. * Description: LED控制和蜂鸣器控制和继电器控制逻辑判定
  6. * History: 2021-07-05
  7. * Version: V3.0
  8. ****************************************************************************/
  9. #include "commontypedef.h"
  10. #include "bsp.h"
  11. #include "bsp_custom.h"
  12. #include "osasys.h"
  13. #include "ostask.h"
  14. #include "queue.h"
  15. #include "ps_event_callback.h"
  16. #include "cmisim.h"
  17. #include "cmimm.h"
  18. #include "cmips.h"
  19. #include "sockets.h"
  20. #include "psifevent.h"
  21. #include "ps_lib_api.h"
  22. #include "lwip/netdb.h"
  23. #include "debug_log.h"
  24. #include "slpman_ec616.h"
  25. #include "plat_config.h"
  26. #include "ec_tcpip_api.h"
  27. #include "hal_module_adapter.h"
  28. #include "timers.h"
  29. #include "AppFunc.h"
  30. #include "AppSignal.h"
  31. #include "AppConfig.h"
  32. #include "hal_module_adapter.h"
  33. #define PROC_CONTROL_TASK_STACK_SIZE (1024)
  34. typedef enum
  35. {
  36. PROCESS_CONTROL_STATE_IDLE = 0,
  37. PROCESS_CONTROL_STATE_WORK,
  38. PROCESS_CONTROL_STATE_SLEEP
  39. }process_control;
  40. void AppTaskControlInit(void *arg);
  41. void AppTaskControlDeInit(void *arg);