Inputs command, Keyboard interrupt module – Freescale Semiconductor Microcontrollers User Manual

Page 269

Advertising
background image

HC08 Full Chip Simulation

Configuration Procedure

269

Microcontrollers Debugger Manual

INPUTS Command

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

Figure 11.19

. The user may then use this

box to specify the input states of port pins and IRQ.

Figure 11.19 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.

NOTE

The IRQ pin state can be directly manipulated with the IRQ command. For
example, IRQ 1 simulates a high state on the IRQ pin; likewise, IRQ 0
simulates a logic-low state on the IRQ pin.

Keyboard Interrupt Module

In FCS Mode, this module simulates all functionality of the Keyboard Interrupt (KBI)
module including the edge-only, edge and level interrupt, and flag polling modes of
operation. FCS mode uses simulated port inputs to trigger the KBI event from the proper I/
O port pin. To define an input state of the specific port, write the INPUT<x> <n>
command in the Command line window. The <x> represents the corresponding I/O port,
while <n> stands for the input value to write to this port. At the same time, you can use

Advertising