app_tasks.h 1008 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. /**
  2. * @file tasks.h
  3. * @author Xiao, Lifan (xiaolf6@midea.com)
  4. * @brief
  5. * @version 0.1
  6. * @date 2021-08-06
  7. *
  8. * @copyright Copyright (c) 2021
  9. *
  10. */
  11. #ifndef _TASKS_H_
  12. #define _TASKS_H_
  13. /****************************************************************
  14. *
  15. * Standard Interface
  16. *
  17. * *************************************************************/
  18. /* Driver Layer Interface */
  19. /* The following function will be called by platfrom layer */
  20. /**
  21. * @brief Init pwm task
  22. *
  23. */
  24. void App_Task_InitTaskPwm();
  25. /**
  26. * @brief Pwm task called in pwm isr
  27. *
  28. */
  29. void App_Task_TaskPwm();
  30. /**
  31. * @brief Init adc task
  32. *
  33. */
  34. void App_Task_InitTaskAdcCplt();
  35. /**
  36. * @brief Adc task called in adc complete isr
  37. *
  38. */
  39. void App_Task_TaskAdcCplt();
  40. /**
  41. * @brief Init task 1
  42. *
  43. */
  44. void App_Task_InitTask1();
  45. /**
  46. * @brief Task 1 called by period timer
  47. *
  48. */
  49. void App_Task_Task1();
  50. void App_Task_InitTask2();
  51. void App_Task_Task2();
  52. void App_Task_InitTaskBg();
  53. void App_Task_TaskBg();
  54. #endif