
1. Overview
Table 1.12
Pin Functions (100-Pin Package and 144-Pin Package) (2)
I: Input
O: Output
I/O: Input and output
Type
Pin Name
I/O
Description
Main clock input
XIN
I
I/O pin for the main clock oscillation circuit. Connect a ceramic
resonator or crystal oscillator between XIN and XOUT. To apply
external clock, apply it to XIN and leave XOUT open
Main clock output
XOUT
O
Sub clock input
XCIN
I
I/O pin for the sub clock oscillation circuit. Connect a crystal
oscillator between XCIN and XCOUT. To apply external clock,
apply it to XCIN and leave XCOUT open
Sub clock output
XCOUT
O
Clock output
CLKOUT
O
This pin outputs the clock having the same frequency as fC, f8, or f32
INT interrupt input
INT0 to INT5
I
INT interrupt input pins
NMI interrupt input
NMI
I
NMI interrupt input pin
Key input interrupt input
KI0 to KI3
I
Key input interrupt input pins
Timer A
TA0OUT to
TA4OUT
I/O
Timer A0 to A4 I/O pins
(TA0OUT of P7_0 pin is N-channel open drain output)
TA0IN to
TA4IN
I
Timer A0 to A4 input pins
Timer B
TB0IN to
TB5IN
I
Timer B0 to B5 input pins
Three-phase motor
control timer output
U, U, V, V,
W, W
O
Three-phase motor control timer output pins
Serial interface
CTS0 to
CTS5
I
Input pins to control data transmission
RTS0 to
RTS5
O
Output pins to control data reception
CLK0 to CLK5
I/O
Serial clock I/O pins
RXD0 to
RXD6
I
Serial data input pins
TXD0 to
TXD6
O
Serial data output pins
(TXD2 is N-channel open drain output)
I2C mode
SDA0 to
SDA4
I/O
Serial data I/O pins
(SDA2 is N-channel open drain output)
SCL0 to SCL4
I/O
Serial clock I/O pins
(SCL2 is N-channel open drain output)
Serial interface special
function
STXD0 to
STXD4
O
Serial data output pins when slave mode is selected
(STXD2 is N-channel open drain output)
SRXD0 to
SRXD4
I
Serial data input pins when slave mode is selected
SS0 to SS4
I
Input pins to control the serial interface special function