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

## Data Fields
TVAL | val
| Value of VTREG or register index. More...
SSTR | str
| Name of VTREG or expression. More...

## Description

Virtual Register (VTR) data / Register data / Expression to calculate / Watch exprerssion to set/change

This structure contains a Virtual Register (VTR) name and value. The value is contained in val and its name is contained in the str variable.

This structure is used in the following messages:

Client ==> uVision (Request)

- UV_DBG_VTR_GET (Set str to the name of the VTR)
- UV_DBG_VTR_SET (Set str to the name of the VTR, and val to the value to set)
- UV_DBG_CALC_EXPRESSION (Set str to the expression to calculate)
- UV_DBG_REGISTER_SET (Set str to the expression for register value and val to register index

Client <== uVision (Response)

- UV_DBG_VTR_GET (uVision writes the VTR value to val, str remains unchanged)
- UV_DBG_CALC_EXPRESSION (uVision writes the result of the expression to val, str remains unchanged)

## Field Documentation

SSTR VSET::str

Name of VTREG or expression.

TVAL VSET::val

Value of VTREG or register index.