Using the µVision Socket Interface: TASKENUM Struct Reference

| Using the µVision Socket Interface Application Note 198 Control and monitor µVision via the built-in TCP/IP interface

- Main Page
- Usage and Description
- Reference

- Data Structures
- Data Structure Index
- Data Fields

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
TASKENUM Struct Reference
Structs

## Data Fields
int | nTask
| Task ID (1-based for RTX), 0 corresponds to implicit main thread. More...
xU64 | nAdr
| Task entry address. More...
UINT | nState:8
| Task state. More...
UINT | __pad0__:24
| Reserved. More...
SSTR | name

## Description

Task list enumeration return data

Contains a stack enumeration item.

This structure is used in the following messages:

Client <== uVision (Async)

- UV_DBG_ENUM_TASKS_ENU (uVision writes nItem to the stack frame number, nAdr to the callee address, nRetAdr to the caller address. The UV_DBG_ADR_TOFILELINE command can be used to convert the addresses to file, function and line numbers)

## Field Documentation

UINT TASKENUM::__pad0__

Reserved.

xU64 TASKENUM::nAdr

Task entry address.

SSTR TASKENUM::name

UINT TASKENUM::nState

Task state.

int TASKENUM::nTask

Task ID (1-based for RTX), 0 corresponds to implicit main thread.