AppTaskLed.h 1006 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /****************************************************************************
  2. *
  3. * Copy right: Qx.Chen Jie
  4. * File name: LedTask.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 "Signal.h"
  30. #define PROC_LED_TASK_STACK_SIZE (256)
  31. typedef enum
  32. {
  33. PROCESS_LED_STATE_IDLE = 0,
  34. PROCESS_LED_STATE_WORK,
  35. PROCESS_LED_STATE_SLEEP
  36. }process_LED;
  37. void LedTaskInit(void *arg);
  38. void LedTaskDeInit(void *arg);