Text instrument – Freescale Semiconductor Microcontrollers User Manual

Page 152

Advertising
background image

Debugger Components

Visualization Utilities

152

Microcontrollers Debugger Manual

Text Instrument

The Text instrument has several functions: Static Text, Value, Relative Value, and
Command (

Figure 3.96

).

Figure 3.96 Text Instrument

Use Text Mode to switch between the five available modes. Text instrument common
attributes are shown in the

Table 3.55

Top Position is

Specifies if the 'up' position is either zero or one. Especially useful to
easily transform the push button into a reset button.

Kind of Switch

Changes the look of the instrument. Following kinds of switches are
available: Slide Switch, Toggle Switch, Jumper, Push Button.

The behavior of the Push Button slightly differs from the others, since it
returns to its initial state as soon as it has been released.

Switch Color

Specifies the color of the switch.

Bounces

If enabled, gives access to the following other attributes to configure
the way the switch bounces.

Nb Bounces

Specifies the number of bounces before stabilization.

Bounces on
Edge

Specifies whether the switch bounces on falling, rising or both edges.

Type of Unit

Synchronizes the frequency of the bouncing either on the timer of your
host machine, or on CPU cycles.

Pulse Width
(100ms)

Defines the duration of one bounce. Fill in this attribute if you chose
“Host Periodical” in the “Type of Unit” attribute.

CPU Count

This attribute represents the number of CPU cycles to reach before
the switch changes its state. Fill in this attribute if you chose “CPU
Cycles” in the “Type of Unit” attribute.

Table 3.54 Switch Instrument Attributes (

continued)

Attribute

Description

Advertising