Keil Logo

Peripheral Simulation

For NXP (founded by Philips) P89LPC913 — Port 3 (Quasi-bidirectional, Push-Pull, Input Only, Open Drain, 2-bits)

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.

Parallel Port 3 Dialog

Parallel Port 3

This dialog displays the SFR and pins of Port 3. This port may be used as a 2-bit general purpose I/O port.

  • P3 represents the P3 SFR. The HEX value and value of each bit is displayed and may be changed from this dialog.
  • P3M1 and P3M2 configure the output mode of each pin for this port.
  • Set P3M1.x:P3M2.x as follows: 0:0 for Quasi-Bidirectional, 0:1 for Push-Pull, 1:0 for Input Only (Hi-Z), or 1:1 for Open Drain.

  • Pins represents the states of the pins on the simulated MCU. You may set the level of the input pin to high (1) or low (0).
  • ENCLK (Enable Output Clock) is set to output CCLK/2 on the XTAL2 pin (P3.0) and the crystal oscillator is not being used.
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.