Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * task.h
- * <PRE>StackType_t uxTaskGetStackSize( TaskHandle_t xTask );</PRE>
- *
- * INCLUDE_pxTaskGetStackSize must be set to 1 in FreeRTOSConfig.h for
- * this function to be available.
- *
- * Returns the stack size associated with xTask. That is, the stack
- * size (in words, so on a 32 bit machine a value of 1 means 4 bytes) of the task.
- *
- * @param xTask Handle of the task associated with the stack to be checked.
- * Set xTask to NULL to check the stack of the calling task.
- *
- * @return The smallest amount of free stack space there has been (in words, so
- * actual spaces on the stack rather than bytes) since the task referenced by
- * xTask was created.
- */
- StackType_t uxTaskGetStackSize( TaskHandle_t xTask ) PRIVILEGED_FUNCTION;
Add Comment
Please, Sign In to add comment