© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
User manual Rev. 02 — 23 May 2005 10 of 133
Philips Semiconductors UM10109P89LPC932A1 User manual
P2.0 to P2.7 1, 2, 13,
14, 15, 16,
27, 28
25, 26, 9,
10, 11, 12,
23, 24
I/O Port 2: Port 2 is an 8-bit I/O port with a user-configurable output type.
During reset Port 2 latches are configured in the input only mode with the
internal pull-up disabled. The operation of Port 2 pins as inputs and
outputs depends upon the port configuration selected. Each port pin is
configured independently. Refer to Section 4.1 “Port configurations” and
the P89LPC932A1 data sheet, Static characteristics for details.
All pins have Schmitt triggered inputs.
Port2 al so provides various special functions as described below:
125I/OP2.0 — Port2 bit 0.
IICB — Input Capture B
226I/OP2.1 — Port2 bit 1.
OOCD — Output Compare D
13 9 I/O P2.2 — Port2 bit 2.
I/O MOSI — SPI master out slave in. When configured as master, this pin is
output; when configured as slave, this pin is input.
14 10 I/O P2.3 — Port 2 bit 3.
I/O MISO — When configured as master, this pin is input, when configured
as slave, this pin is output.
15 11 I/O P2.4 — Port 2 bit 4.
ISS — SPI Slave select.
16 12 I/O P2.5 — Port 2 bit 5.
I/O SPICLK — SPI clock. When configured as master, this pin is output;
when configured as slave, this pin is input.
27 23 I/O P2.6 — Port 2 bit 6.
OOCA — Output Compare A
28 24 I/O P2.7 — Port 2 bit 7.
IICA — Input Capture A
Table 1: Pin description …continued
Symbol Pin Type Description
TSSOP28,
PLCC28
HVQFN28