训练营PLSR题目
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 
 
 

79 satır
4.6 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. * OS CONFIGURATION (APPLICATION SPECIFICS)
  10. *
  11. * File : OS_CFG_APP.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_CFG_APP_H
  35. #define OS_CFG_APP_H
  36. /*
  37. ************************************************************************************************************************
  38. * CONSTANTS
  39. ************************************************************************************************************************
  40. */
  41. /* --------------------- MISCELLANEOUS ------------------ */
  42. #define OS_CFG_MSG_POOL_SIZE 100u /* Maximum number of messages */
  43. #define OS_CFG_ISR_STK_SIZE 100u /* Stack size of ISR stack (number of CPU_STK elements) */
  44. #define OS_CFG_TASK_STK_LIMIT_PCT_EMPTY 10u /* Stack limit position in percentage to empty */
  45. /* ---------------------- IDLE TASK --------------------- */
  46. #define OS_CFG_IDLE_TASK_STK_SIZE 64u /* Stack size (number of CPU_STK elements) */
  47. /* ------------------ ISR HANDLER TASK ------------------ */
  48. #define OS_CFG_INT_Q_SIZE 10u /* Size of ISR handler task queue */
  49. #define OS_CFG_INT_Q_TASK_STK_SIZE 100u /* Stack size (number of CPU_STK elements) */
  50. /* ------------------- STATISTIC TASK ------------------- */
  51. #define OS_CFG_STAT_TASK_PRIO 11u /* Priority */
  52. #define OS_CFG_STAT_TASK_RATE_HZ 10u /* Rate of execution (1 to 10 Hz) */
  53. #define OS_CFG_STAT_TASK_STK_SIZE 100u /* Stack size (number of CPU_STK elements) */
  54. /* ------------------------ TICKS ----------------------- */
  55. #define OS_CFG_TICK_RATE_HZ 1000u /* Tick rate in Hertz (10 to 1000 Hz) */
  56. #define OS_CFG_TICK_TASK_PRIO 1u /* Priority */
  57. #define OS_CFG_TICK_TASK_STK_SIZE 100u /* Stack size (number of CPU_STK elements) */
  58. /* ----------------------- TIMERS ----------------------- */
  59. #define OS_CFG_TMR_TASK_PRIO 11u /* Priority of 'Timer Task' */
  60. #define OS_CFG_TMR_TASK_RATE_HZ 10u /* Rate for timers (10 Hz Typ.) */
  61. #define OS_CFG_TMR_TASK_STK_SIZE 100u /* Stack size (number of CPU_STK elements) */
  62. #endif