Keyboard interrupt commands – Freescale Semiconductor Microcontrollers User Manual

Page 270

Advertising
background image

HC08 Full Chip Simulation

Configuration Procedure

270

Microcontrollers Debugger Manual

the INPUTS command to bring up the Simulated Port Inputs for all general I/O ports. It
displays the current simulated values to all applicable input ports. See

FCS Timer

Interface Module Commands

for more information about the various forms of this

command.

Figure 11.20 Simulated Port Inputs Dialog Box

Use the Simulated Port Inputs dialog box to reconfigure the input value to any I/O port. To
trigger the event, manipulate the inputs to the port in the appropriate manner, depending
on whether the KBI is configured for edge-only or edge and level. Once the KBI event
takes place, the KEYF Flag bit, which is a part of the Keyboard Status and Control
register, can be observed in the Memory Window.

Figure 11.21 Memory Component Window

The user is able to poll the KBI Interrupt Pending flag if the polling Mode is simulated. In
Interrupt Mode, the simulator branches to an appropriate interrupt subroutine as long as
the KBI interrupt vector is properly configured. For more information on KBI
configuration, refer to the Freescale user manual for your microprocessor.

Keyboard Interrupt Commands

Use the following Keyboard interrupt commands while in full chip simulation mode.

Advertising