
217
Section 10 I/O Ports
(HD404358 and HD404358R Series)
10.1
Overview
10.1.1
Features
The HD404358 and HD404358R Series I/O ports have the following features.
HD404358 Series: The four pins R2
0 to R23 are medium voltage NMOS open drain I/O pins.
RA
1 is an input-only pin. The D, R0, R1, R3, R4, and R8 port pins are standard voltage I/O
pins that, in output mode, are CMOS three state outputs.
HD404358R Series: Pins D
0 to D8, R0, R1, R2, R3, R4, and R8 are CMOS three state standard
voltage I/O pins. Of these, 20 pins (D
5 to D8, R0, R1, R2, and R8) can handle current levels of
up to 15 mA. Also, RA
1 is an input-only pin.
Certain I/O pins (D
0 to D4, and the pins in the R0, R3, and R4 ports) are shared with the built-
in peripheral modules, such as timers and the serial interface. Setting these pins for use with
the built-in peripheral modules takes priority over their setting for use as D or R port pins.
Register settings are used to select input or output for I/O pins and to select the I/O port or
peripheral module usage for shared function pins.
All peripheral module output pins are CMOS outputs. However, the R0
2/SO pin can be
selected to be an NMOS open drain output by setting a register.
Since the system is reset in stop mode, the built-in peripheral module selections are cleared and
the I/O pins go to the high impedance state.
The CMOS output pins have built-in programmable pull-up MOS transistors. The on/off state
of these transistors can be controlled by register settings on an individual basis. Note that the
pull-up MOS transistor on/off settings are independent of the pin settings for use as built-in
peripheral module pins.
Table 10-1 provides an overview of the HD404358 Series port functions.