Push buttons setup, Use with io_ports, Use with leds component – Freescale Semiconductor Microcontrollers User Manual

Page 618

Advertising
background image

ColdFire V1 Full Chip Simulation Connection

FCS Visualization Utilities

618

Microcontrollers Debugger Manual

Push Buttons Setup

The Setup dialog box shown in

Figure 28.45

allows you to specify the port address (in

hexadecimal format) or select the port in the list.

Figure 28.45 Setup Dialog Box

NOTE

The port is an output port for the LEDs component.

Use with IO_Ports

The component uses the address defined in the Push Buttons Setup dialog box when
working with the

Programmable IO_Ports Component

.

Use with LEDs Component

Figure 28.46

shows the bytes that the Push Button component sends to the LEDs

component.

Figure 28.46 Push Buttons Input Port

Sending a value of 1 for a bit lights on the corresponding LED on the LEDs device. For
example, if you press button 3, a read access at the address of the component port returns
the value 00001000b (08h).

Advertising