Guest User

Untitled

a guest
Dec 11th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. /**
  2. * task.h
  3. * <PRE>StackType_t uxTaskGetStackSize( TaskHandle_t xTask );</PRE>
  4. *
  5. * INCLUDE_pxTaskGetStackSize must be set to 1 in FreeRTOSConfig.h for
  6. * this function to be available.
  7. *
  8. * Returns the stack size associated with xTask. That is, the stack
  9. * size (in words, so on a 32 bit machine a value of 1 means 4 bytes) of the task.
  10. *
  11. * @param xTask Handle of the task associated with the stack to be checked.
  12. * Set xTask to NULL to check the stack of the calling task.
  13. *
  14. * @return The smallest amount of free stack space there has been (in words, so
  15. * actual spaces on the stack rather than bytes) since the task referenced by
  16. * xTask was created.
  17. */
  18. StackType_t uxTaskGetStackSize( TaskHandle_t xTask ) PRIVILEGED_FUNCTION;
Add Comment
Please, Sign In to add comment