For NXP (founded by Philips) P89LPC931A1 — Port 2 (Quasi-bidirectional, Push-Pull, Input Only, Open Drain, 2-bits)
Simulation support for this peripheral or feature is comprised of:
These simulation capabilities are described below.
Parallel Port 2 Dialog
The PORT2 VTREG represents the I/O pins of Port 2 on the simulated microcontroller. You may read PORT2 to determine the state of the output pins of the port. For example, in the command window, you may type,
to obtain value corresponding to the set pins of the port. You may also change the input values of port pins by changing the value of the VTREG. For example,
sets the port pin 1 to a value of 1 and the port pin 0 to a value of 0.
of your data.