Pin description – Rainbow Electronics AT89LP214 User Manual
Page 3

3
3538A–MICRO–7/06
AT89LP213/214 [Preliminary]
3.
Pin Description
Table 3-1.
AT89LP213 Pin Description
Pin
Symbol
Type
Description
1
P1.5
I/O
I/O
I
P1.5: User-configurable I/O Port 1 bit 5.
MOSI: SPI master-out/slave-in. When configured as master, this pin is an output. When configured as
slave, this pin is an input.
GPI5: General-purpose Interrupt input 5.
2
P1.7
I/O
I/O
I
P1.7: User-configurable I/O Port 1 bit 7.
SCK: SPI Clock. When configured as master, this pin is an output. When configured as slave, this pin is
an input.
GPI7: General-purpose Interrupt input 7.
3
P1.3
I/O
I
I
I
P1.3: User-configurable I/O Port 1 bit 3 (if Reset Fuse is disabled).
RST: External Active-Low Reset input (if Reset Fuse is enabled.
See “External Reset” on page 15
).
GPI3: General-purpose Interrupt input 3.
DCL: Serial Clock input for On-chip Debug Interface when OCD is enabled.
4
GND
I
Ground
5
P1.2
I/O
I
P1.2: User-configurable I/O Port 1 bit 2.
GPI2: General-purpose Interrupt input 2.
6
P3.4
I/O
I/O
P3.4: User-configurable I/O Port 3 bit 4.
T0: Timer/Counter 0 External Input or PWM Output.
7
P3.2
I/O
I
I/O
P3.2: User-configurable I/O Port 3 bit 2.
XTAL1: Input to the inverting oscillator amplifier and internal clock generation circuits. It may be used as
a port pin if the internal RC oscillator is selected as the clock source.
DDA: Serial Data input/output for On-chip Debug Interface when OCD is enabled and the internal RC
oscillator is selected as the clock source.
8
P3.3
I/O
O
O
I/O
P3.3: User-configurable I/O Port 3 bit 3.
XTAL2: Output from inverting oscillator amplifier. It may be used as a port pin if the internal
RC oscillator is selected as the clock source.
CLKOUT: When the internal RC oscillator is selected as the clock source, may be used to output the
internal clock divided by 2.
DDA: Serial Data input/output for On-chip Debug Interface when OCD is enabled and the external
clock is selected as the clock source.
9
P3.5
I/O
I/O
P3.5: User-configurable I/O Port 3 bit 5.
T1: Timer/Counter 1 External input or PWM output.
10
VDD
I
Supply Voltage
11
P1.0
I/O
I
I
P1.0: User-configurable I/O Port 1 bit 0.
AIN0: Analog Comparator Positive input.
GPI0: General-purpose Interrupt input 0.
12
P1.1
I/O
I
I
P1.1: User-configurable I/O Port 1 bit 1.
AIN1: Analog Comparator Negative input.
GPI1: General-purpose Interrupt input 1
13
P1.4
I/O
I
I
P1.4: User-configurable I/O Port 1 bit 4.
SS: SPI slave select input.
GPI4: General-purpose Interrupt input 4.
14
P1.6
I/O
I/O
I
P1.6: User-configurable I/O Port 1 bit 6.
MISO: SPI master-in/slave-out. When configured as master, this pin is an input. When configured
as slave, this pin is an output.
GPI6: General-purpose Interrupt input 6.