Inputs command, External interrupt (irq) module, Input/output ports user – Freescale Semiconductor Microcontrollers User Manual

Page 447: Commands

Advertising
background image

HCS08 Full Chip Simulation

Peripheral Modules Commands

447

Microcontrollers Debugger Manual

INPUTS Command

In FCS and CPU-Only Simulation mode, the INPUTS command opens the Simulated Port
Inputs dialog box shown in

Figure 18.18

. The user may then use this box to specify the

input states of port pins and IRQ.

Figure 18.18 Simulated Port Inputs Dialog Box

When using In-Circuit Simulation mode, the INPUTS command shows the simulated
input values to any applicable port.

Syntax

>INPUTS

Example

>INPUTS

Show I/O port input values.

External Interrupt (IRQ) Module

In FCS, this module simulates the input, flag polling and interrupt functionality of the
External Interrupt (IRQ) module. FCS mode uses the INPUTS command to let the user
monitor and change the simulated value of the IRQ input pin state. Once the user enters
the INPUTS command into the command line prompt, the Simulated Port Inputs window
appears. See

INPUT<x> Command

for more information about the various forms of this

command. In addition, you can modify the state of the IRQ pin directly using the IRQ
<n>

command (documented below).

Advertising