Led component, Led operations, Led menu – Freescale Semiconductor Microcontrollers User Manual

Page 597

Advertising
background image

ColdFire V1 Full Chip Simulation Connection

FCS Visualization Utilities

597

Microcontrollers Debugger Manual

LED Component

The LED window shown in

Figure 28.16

is a visual utility that displays an arbitrary 8-bit

value using an LED bar.

Figure 28.16 LED Window

The LED component displays the value in a bit-wise manner with the most significant bit
to the left and the least significant bit to the right. Bits with value 0 are shown using a
green LED, and bits with value 1 use a red LED. Click an LED to toggle its state. The
underlying value changes accordingly.

LED Operations

If you click an LED, its state toggles between green (0) and red (1). The corresponding bit
in the underlying value changes as well.

When you right-click within the component window, a context menu appears with the
same menu entries as listed in the LED menu in the main menu bar.

LED Menu

The LED menu contains a single item, Setup, that opens the dialog box shown in

Figure

28.17

.

Figure 28.17 LED Setup Dialog Box

In the text field, the user can specify which value the LED bar displays. Specify the
location with a string in the form object.value. Possible objects and their values can be
listed in the Inspector component.

Advertising