8
Pin Description
M
i
t
s
u
M
S
b
i
s
3
M
h
0
I
C
i
m
2
R
i
1
O
c
r
8
C
o
c
o
G
M
m
p
r
P
u
t
u
T
e
r
p
R
s
o
U
S
I
N
G
L
E
-
C
H
I
P
1
6
-
B
I
T
C
M
O
O
E
Pin Description
Signal name
Function
Pin name
I/O type
Input/output
Input/output
I/O port P9
I/O port P10
P9
0
to P9
7
P10
0
to P10
7
This is an 8-bit I/O port equivalent to P7. When set for input, the user
can specify in units of four bits by software whether or not they are tied
to a pull-up resistor. P9
7
function as D-A converter output pins, clock
output pins (same frequency of X
IN
/8, X
IN
/32 or X
CIN
) and DIM signal
output pin of FLD controller as selected by software. P9
6
function as D-
A converter output pins and clock I/O pin of serial I/O with automatic
transfer as selected by software. P9
0
to P9
5
function as I/O pin of serial
I/O with automatic transfer as selected by software.
This is an 8-bit I/O port equivalent to P7. When set for input, the user
can specify in units of four bits by software whether or not they are tied
to a pull-up resistor. Pins in this port also function as A-D converter
input pins as selected by software.
P7
0
to P7
7
I/O port P7
This is an 8-bit I/O port equivalent to P3. This is CMOS input/output.
When set for input, the user can specify in units of four bits by software
whether or not they are tied to a pull-up resistor. P7
0
to P7
2
function as
TimerB0 to B2 input pins as selected by software. P7
3
function as
TimerA0 I/O pin as selected by software. P7
4
to P7
7
function as
TimerA1 to A4 I/O pins, and UART1 I/O pins as selected by software.
Input/output
P8
0
to P8
7
I/O port P8
This is an 8-bit I/O port equivalent to P7. When set for input, the user
can specify in units of four bits by software whether or not they are tied
to a pull-up resistor. P8
0
to P8
5
function as external interrupt input pins
as selected by software. P8
6
,P8
7
function as sub-clock input pin as
selected by software. In this case, connect a quarts oscillator between
P8
6
(X
OUT
pin) and P8
7
(X
CIN
pin)
Input/output
Note 1: Supply 4.0V to 5.5V to the V
CC
pin in flash memory version.
Note 2: Port P2
0
to P2
7
, P3
0
to P3
7
, and P4
0
to P4
3
can be selected whether pull-down resistors are built-in or not by the
mask option specification. Flash memory version does not have this option.