Philips 8-bit microcontroller with two-clock 80C51 core UM10109 Manual De Usuario

Descargar
Página de 133
 
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
User manual
Rev. 02 — 23 May 2005 
10 of 133
Philips Semiconductors
UM10109
P89LPC932A1 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 
 and 
the P89LPC932A1 data sheet, Static characteristics for details.
All pins have Schmitt triggered inputs.
Port 2 also provides various special functions as described below:
1
25
I/O
P2.0 — Port 2 bit 0.
I
ICB — Input Capture B
2
26
I/O
P2.1 — Port 2 bit 1.
O
OCD — Output Compare D
13
9
I/O
P2.2 — Port 2 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.
I
SS — 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.
O
OCA — Output Compare A
28
24
I/O
P2.7 — Port 2 bit 7.
I
ICA — Input Capture A
Table 1:
Pin description
 …continued
Symbol
Pin
Type
Description
TSSOP28, 
PLCC28
HVQFN28