HD404344R Series/HD404394 Series
41
Input/Output
The HD404344R series and HD4074344 MCU has 22 input/output pins (D
0
–D
5
, R0
0
–R3
3
) and the
HD404394 MCU has 21 input/output pins (D
0
–D
5
, R0
0
–R2
3
, R3
1
–R3
3
). These input/output pins have the
following features:
All 22 pins for the HD404344R series and HD4074344 have a CMOS output circuit. Ten pins D
1
, D
2
,
and R1
0
–R2
3
are large current input/output pins.
Three input/output pins of the 21 pins on the HD404394 series, R1
0
–R1
2
, have intermediate-voltage
NMOS open drain output circuits. Five other input/output pins, R1
3
and R2
0
–R2
3
, have standard-voltage
NMOS open drain output circuits. The remaining 13 input/output pins, D
0
–D
5
, R0
0
–R0
3
and R3
1
–R3
3
,
have CMOS output circuits.
Ten pins D
1
, D
2
, and R1
0
–R2
3
are high-current input/output pins.
Some input/output pins are multiplexed with peripheral functions, such as for the timers and serial
interface. For these pins, the settings for peripheral functions are done prior to the D or R ports settings.
If these pins are set as peripheral functions, the pin functions and input/output selections automatically
switch according to the settings.
Program control of input/output port selection, as well as peripheral function selection.
All peripheral function output pins are CMOS output pins. However, the R0
2
/SO pin can be
programmed to be NMOS open drain output.
In stop mode, all peripheral function selections are cleared because of the MCU being reset. Also, the
input/output pins go into a high-impedance state.
All input/output pins for both the HD404344R series, HD4074344 and the HD404394 series except for
pins R1
0
–R2
3
, have built-in pull-up MOS. Therefore they can be individually turned on or off by
software.
When pin functions are set as peripheral functions after selecting the pins as pull-up MOS, the pins are
maintained as pull-up MOS from the time of selection. Also, pull-up MOS can be selected by software
after setting the pin functions as peripheral functions. The control of the input/output pins are shown in
table 17 and the circuit configuration of each input/output pin is shown in table 18.
Table 17
Programmable Control of Standard I/O Pins
MIS3 (bit 3 of MIS)
0
1
DCD, DCR
0
1
0
1
PDR
0
1
0
1
0
1
0
1
CMOS buffer
PMOS
—
—
—
On
—
—
—
On
NMOS
—
—
On
—
—
—
On
—
Pull-up MOS
Note:
—
—
—
—
—
On
—
On
— indicates off.