Keil Logo

Peripheral Simulation

For Atmel T87C251G1A — Keyboard Interrupt

Simulation support for this peripheral or feature is comprised of:

  • Dialog boxes which display and allow you to change peripheral configuration.

These simulation capabilities are described below.

Keyboard Interrupt Dialog

Keyboard Interrupt

This dialog displays the SFRs and pins when Port 1 is used as a Keyboard Interface.

Port 1

  • Pins: These are the states of the pins on the simulated MCU. When used as outputs, these have the same value as the P1 SFR. When used as inputs (P1.x is 1) you may set the level of the input pin to high (1) or low (0).

Level Selector

  • P1LS: (Port 1Selection Register) bits are set individually to program the keyboard interface level detection circuits.

Interrupt Flags

  • P1F: (Port 1 Register) bits are set when the corresponding bits in Port 1 line detects a programmed level (P1LS).

Interrupt Enable

  • P1IE: (PPort 1 Interrupt Enable Register) bits are set to selectively enable corresponding bits the P1F (Keyboard Flag) register.
Get more information about the
Peripheral Simulation Capabilities
of the µVision Debugger.
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.