SuperTinyKernel™ RTOS 1.06.x
Lightweight, high-performance, deterministic, bare-metal C++ RTOS for resource-constrained embedded systems. MIT Open Source License.
Loading...
Searching...
No Matches
TaskStatus_t Struct Reference

#include <FreeRTOS.h>

Public Attributes

TaskHandle_t xHandle
const char * pcTaskName
eTaskState eCurrentState
UBaseType_t uxCurrentPriority
UBaseType_t uxBasePriority
uint32_t ulRunTimeCounter
StackType_tpxStackBase
StackType_t usStackHighWaterMark
uint32_t xTaskNumber

Detailed Description

Per-task status snapshot filled by uxTaskGetSystemState().

Notes on field availability in this STK wrapper:

  • ulRunTimeCounter is always 0 (STK has no per-task CPU accounting).
  • uxBasePriority equals uxCurrentPriority (no priority inheritance).
  • xTaskNumber is a monotonically increasing serial assigned at creation.

Definition at line 363 of file FreeRTOS.h.

Member Data Documentation

◆ eCurrentState

eTaskState TaskStatus_t::eCurrentState

Current execution state.

Definition at line 367 of file FreeRTOS.h.

Referenced by uxTaskGetSystemState().

◆ pcTaskName

const char* TaskStatus_t::pcTaskName

Pointer to the task's name string (not a copy).

Definition at line 366 of file FreeRTOS.h.

Referenced by uxTaskGetSystemState().

◆ pxStackBase

StackType_t* TaskStatus_t::pxStackBase

Pointer to the bottom of the task's stack.

Definition at line 371 of file FreeRTOS.h.

Referenced by uxTaskGetSystemState().

◆ ulRunTimeCounter

uint32_t TaskStatus_t::ulRunTimeCounter

Accumulated CPU time (always 0; STK has no per-task accounting).

Definition at line 370 of file FreeRTOS.h.

Referenced by uxTaskGetSystemState().

◆ usStackHighWaterMark

StackType_t TaskStatus_t::usStackHighWaterMark

< Stack depth word type. Minimum free stack space seen (Words).

Definition at line 372 of file FreeRTOS.h.

Referenced by uxTaskGetSystemState().

◆ uxBasePriority

UBaseType_t TaskStatus_t::uxBasePriority

Base priority (equals uxCurrentPriority in STK).

Definition at line 369 of file FreeRTOS.h.

Referenced by uxTaskGetSystemState().

◆ uxCurrentPriority

UBaseType_t TaskStatus_t::uxCurrentPriority

Current scheduling priority.

Definition at line 368 of file FreeRTOS.h.

Referenced by uxTaskGetSystemState().

◆ xHandle

TaskHandle_t TaskStatus_t::xHandle

Opaque handle identifying the task.

Definition at line 365 of file FreeRTOS.h.

Referenced by uxTaskGetSystemState().

◆ xTaskNumber

uint32_t TaskStatus_t::xTaskNumber

Monotonic serial number assigned at creation.

Definition at line 373 of file FreeRTOS.h.

Referenced by uxTaskGetSystemState().


The documentation for this struct was generated from the following file: