HD404318 Series
4
PinDescription
Pin Number
Item
Symbol
DP-42S FP-44A I/O
Function
Power supply V
CC
21
16
Applies power voltage
GND
10
5
Connected to ground
V
(shared
with RA
1
)
TEST
1
39
Used as a high-voltage output power supply pin when
selected by the mask option
Test
6
1
I
Cannot be used in user applications. Connect this pin
to GND.
Reset
RESET
7
2
I
Resets the MCU
Oscillator
OSC
1
8
3
I
Input/output pin for the internal oscillator. Connect these
pins to the ceramic or crystal oscillator, or OSC
1
to an
external oscillator circuit.
OSC
2
D
0
–D
8
9
4
O
Port
22–30
17–21,
23–26
I/O
Input/output pins addressed individually by bits; D
0
–D
8
are all high-voltage I/O pins. Each pin can be
individually configured as selected by the mask option.
RA
1
R0
0
–R0
3
,
R3
0
–R4
3
R1
0
–R2
3
,
R8
0
–R8
3
INT
0
,
INT
1
STOPC
SCK
1
39
I
One-bit high-voltage input port pin
2–5,
12–19
40–43,
7–14
I/O
Four-bit input/output pins consisting of standard voltage
pins
31–42
27–38
I/O
Four-bit input/output pins consisting of high voltage pins
Interrupt
22, 23
17, 18
I
Input pins for external interrupts
Stop clear
26
21
I
Input pin for transition from stop mode to active mode
Serial
interface
2
40
I/O
Serial interface clock input/output pin
SI
3
41
I
Serial interface receive data input pin
SO
4
42
O
Serial interface transmit data output pin
Timer
TOC
5
43
O
Timer output pin
EVNB
24
19
I
Event count input pin
Alarm
BUZZ
25
20
O
Square waveform output pin
A/D
converter
AV
CC
20
15
Power supply for the A/D converter. Connect this pin as
close as possible to the V
pin and at the same voltage
as V
. If the power supply voltage to be used for the
A/D converter is not equal to V
, connect a 0.1-
μ
F
bypass capacitor between the AV
and AV
SS
pins.
(However, this is not necessary when the AV
CC
pin is
directly connected to the V
CC
pin.)
Ground for the A/D converter. Connect this pin as close
as possible to GND at the same voltage as GND.
AV
SS
11
6
AN
0
–AN
7
12–19
7–14
I
Analog input pins for the A/D converter