训练营PLSR题目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

75 regels
3.0 KiB

  1. /*
  2. ************************************************************************************************************************
  3. * uC/OS-III
  4. * The Real-Time Kernel
  5. *
  6. * (c) Copyright 2009-2014; Micrium, Inc.; Weston, FL
  7. * All rights reserved. Protected by international copyright laws.
  8. *
  9. * APPLICATION HOOKS
  10. *
  11. * File : OS_APP_HOOKS.H
  12. * By : JJL
  13. * Version : V3.04.04
  14. *
  15. * LICENSING TERMS:
  16. * ---------------
  17. * uC/OS-III is provided in source form for FREE short-term evaluation, for educational use or
  18. * for peaceful research. If you plan or intend to use uC/OS-III in a commercial application/
  19. * product then, you need to contact Micrium to properly license uC/OS-III for its use in your
  20. * application/product. We provide ALL the source code for your convenience and to help you
  21. * experience uC/OS-III. The fact that the source is provided does NOT mean that you can use
  22. * it commercially without paying a licensing fee.
  23. *
  24. * Knowledge of the source code may NOT be used to develop a similar product.
  25. *
  26. * Please help us continue to provide the embedded community with the finest software available.
  27. * Your honesty is greatly appreciated.
  28. *
  29. * You can find our product's user manual, API reference, release notes and
  30. * more information at https://doc.micrium.com.
  31. * You can contact us at www.micrium.com.
  32. ************************************************************************************************************************
  33. */
  34. #ifndef OS_APP_HOOKS_H
  35. #define OS_APP_HOOKS_H
  36. #ifdef OS_APP_HOOKS_H_GLOBALS
  37. #define OS_APP_HOOKS_H_EXT
  38. #else
  39. #define OS_APP_HOOKS_H_EXT extern
  40. #endif
  41. /*
  42. ************************************************************************************************************************
  43. * INCLUDE HEADER FILES
  44. ************************************************************************************************************************
  45. */
  46. #include <os.h>
  47. /*
  48. ************************************************************************************************************************
  49. * FUNCTION PROTOTYPES
  50. ************************************************************************************************************************
  51. */
  52. void App_OS_SetAllHooks (void);
  53. void App_OS_ClrAllHooks (void);
  54. /* ---------------------- HOOKS --------------------- */
  55. void App_OS_TaskCreateHook(OS_TCB *p_tcb);
  56. void App_OS_TaskDelHook (OS_TCB *p_tcb);
  57. void App_OS_TaskReturnHook(OS_TCB *p_tcb);
  58. void App_OS_IdleTaskHook (void);
  59. void App_OS_InitHook (void);
  60. void App_OS_StatTaskHook (void);
  61. void App_OS_TaskSwHook (void);
  62. void App_OS_TimeTickHook (void);
  63. #endif