Freescale Semiconductor Microcontrollers Uživatelský manuál Strana 450

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 892
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 449
HCS08 Full Chip Simulation
Peripheral Modules Commands
450
Microcontrollers Debugger Manual
Keyboard Interrupt Module
In FCS, 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 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 the documentation for Timer
Module Commands for more information about the various forms of this command.
Figure 18.22 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, you can observe the KEYF Flag bit, which is a part of the Keyboard Status
and Control register, in the Memory Window.
Figure 18.23 Memory Component Window
Zobrazit stránku 449
1 2 ... 445 446 447 448 449 450 451 452 453 454 455 ... 891 892

Komentáře k této Příručce

Žádné komentáře