DESCRIPTION
1.3 Pin description
1.3 Pin description
Tables 1.3.1 and 1.3.2 list the pin description.
Table 1.3.1 Pin description (1)
Pin
Vcc, Vss
MD0
Name
Power source input
MD0
Input/Output
—
Function
Apply 5 V ± 0.5 V to pin Vcc and 0 V to pin Vss.
Input
This pin switches the operating mode. This is only for the
MD1
MD1
single-chip mode, so connect this pin to VSS.
RESET
Reset input
Clock input
Input
Input
The microcomputer is reset when “L” level is input to this pin.
Pins XIN and XOUT are the input and output pins of the clock
generating circuit, respectively. Connect these pins via a
ceramic resonator or a quartz-crystal oscillator. When an
X
IN
external clock is input, this clock should be input to pin XIN
and pin XOUT should be left open.
,
X
V
OUT
Clock output
Output
—
To use the PLL frequency multiplier, be sure to connect this
pin to the filter circuit.
CONT
Filter circuit connection
The power source input pin for the A-D converter. Connect this
pin to Vcc.
AVcc
AVss
Analog power source
input
—
The power source input pin for the A-D and D-A converters.
Connect this pin to Vss.
This is the reference voltage input pin for the A-D and D-A converters.
P0 is an 8-bit CMOS I/O port and has an I/O direction register.
Each pin can function as an input or output port pin. By
software, these pins can function as I/O pins for serial I/O.
P2 is an 8-bit I/O port with the same function as port P1.
By software, these pins can function as I/O pins for timers
A4 and A9. Also, these pins can function as input pins for
timers B0 to B2.
V
REF
Reference voltage input
I/O port P1
Input
I/O
P1
0
–P1
7
7
P2
0
–P2
I/O port P2
I/O
P4 is an 8-bit I/O port with the same function as port P1.
By software, these pins can function as I/O pins for timers A5 to
A8, or as motor drive waveform output pins.
P4
0
–P4
7
I/O port P4
I/O port P5
I/O
I/O
P5 is a 6-bit I/O port with the same function as port P1.
By software, these pins can function as input pins for timers B0
to B2, input pins for external interrupts, position data input pins
in the three-phrase waveform mode, or trigger input pins in the
pulse output port mode.
P5
P5
1
5
–P5
–P5
3
7
,
P6 is an 8-bit I/O port with the same function as port P1.
By software, these pins can function as I/O pins for timers A0 to
A3, or as motor drive waveform output pins.
P6
0
–P6
7
I/O port P6
I/O
7905 Group User’s Manual Rev.1.0
1-5