Pin description – Rainbow Electronics AT89LP216 User Manual

Page 3

Advertising
background image

3

3621A–MICRO–6/06

AT89LP216 [Preliminary]

3.

Pin Description

Table 3-1.

AT89LP216 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 14.

).

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.0

I/O

I

P3.0: User-configurable I/O Port 3 bit 0.
RXD: Serial Port Receiver Input.

7

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.

8

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.

9

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.

10

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.

11

P3.1

I/O

O

P3.1: User-configurable I/O Port 3 bit 1.
TXD: Serial Port Transmitter Output.

12

VDD

I

Supply Voltage

13

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.

14

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

15

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.

16

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.

Advertising