Using the µVision Socket Interface: ITMOUT 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
ITMOUT Struct Reference
Structs

## Data Fields
xWORD16 | nChannel
| ITM Channel number (0..31) More...
xWORD16 | itemMode
| 0:=Bytes More...
DWORD | nMany
| number of items (BYTE) More...
union {
xUC8 aBytes [1]
| nMany Bytes follow here. More...
xWORD16 aWords [1]
| nMany Word16 follow here. More...
} | s
| nMany data items. More...

## Description

ITM Channel booking / Output data

Contains ITM Ch.0..31 channel booking and data

This structure is used in the following messages:

Client ==> uVision (Request)

- UV_DBG_ITM_REGISTER / UV_DBG_ITM_UNREGISTER (Set nChannel to the channel to book or get data from, set itemMode to the data width)

Client <== uVision (Response)

- UV_DBG_ITM_OUTPUT (uVision sets nChannel to the channel supplying data [0...31], itemMode to the data width, nMany to the number of data sent (may vary from 1 Byte to 16 KB), s to the data)

## Field Documentation

xUC8 ITMOUT::aBytes[1]

nMany Bytes follow here.

xWORD16 ITMOUT::aWords[1]

nMany Word16 follow here.

xWORD16 ITMOUT::itemMode

0:=Bytes

xWORD16 ITMOUT::nChannel

ITM Channel number (0..31)

DWORD ITMOUT::nMany

number of items (BYTE)

union { ... } ITMOUT::s

nMany data items.