18
CHAPTER 1 Overview
MB89960 series
1.7 I/O Pins and Pin Functions
Tables 1.7a and 1.7b list the MB89960 series I/O pins and their functions. Table 1.7c
lists the I/O circuit types.
The letter in the I/O Circuit Type column of Table 1.7a refers to the letter in the Circuit
Class column of Table 1.7c.
s I/O Pins and Pin Functions
Table 1.7a
Pin Descriptions
Pin number
(48 pin package)
Pin number
(64 pin package)
Pin Name
I/O Circuit
Type
Function
57
X0
A
Connection pins for a crystal or other oscillator.
An external clock can be connected to X0. In this case, leave
X1 open.
68
X1
810
X0A
For connection to crystal oscillator (32.768 kHz)
911
X1A
35
MOD0
B
Input pins for setting the memory access mode.
Connect directly to VSS.
46
MOD1
24
RST
C
Reset I/O pin. The pin is an N-channel open-drain output
with pull-up resistor and a hysteresis input. The pin outputs a
“L” level when an internal reset request is present . Inputting
an “L” level initializes internal circuits.
34 - 27
44 - 37
P00/INT20 -
P07/INT27
D
General-purpose CMOS I/O ports.
Serve as external interrupt inputs. (hystersis input)
26 - 24
36, 35, 30
P10/INT10 -
P12/INT12
D
General-purpose CMOS I/O ports.
Serve as external interrupt inputs, (hystersis input)
23-20,18
29 - 26, 24
P13 - P17
D
General-purpose CMOS I/O port.
17 - 10
23 - 19, 14 - 12
P20 - P27
F
General-purpose CMOS output port.
40
54
P30/SCK
E
General-purpose CMOS I/O port.
I/O pin of serial I/O clock (hystersis input)
39
53
P31/SO
E
General-purpose CMOS I/O port.
Output pin for serial I/O (hystersis input)
38
52
P32/SI
E
General-purpose CMOS I/O port.
Input pin for serial I/O (hystersis input)
37
51
P33/EC
E
General-purpose CMOS I/O port
Input pin for external clock for 8-bit timer (hystersis input)
36
46
P34/TO/CLK
E
General-purpose CMOS I/O port.
Output pin for 8-bit timer overflow or clock output.
35
45
C
--
For MB89965, connect this pin to an external 0.1
F
capacitor to ground.
N.C.
For MB89P965/PV960, left this pin unconnected.
48 - 45
62 - 59
P40/AN0 -
P43/AN3
G
General-purpose N-ch open-drain port.
Analog input pins for A/D convertor
42
56
P44/SDA
H
General-purpose N-ch open-drain port.
Data I/O pin for I2C interface.
41
55
P45/SCL
H
General-purpose N-ch open-drain port.
Clock I/O pin for I2C interface.
1
3
AVcc
-
Power supply for A/D convertor (must be the same potential
as Vcc)
43
57
AVss
-
Power supply for A/D convertor (must be the same potential
as Vss)
44
58
AVR
-
Reference voltage input pin for A/D convertor.
7
9
Vcc
-
Power supply