English
Language : 

HD404054 Datasheet, PDF (32/101 Pages) Hitachi Semiconductor – HMCS400-series microcomputers designed to increase program productivity with large-capacity memory
HD404054 Series/HD404094 Series
Input/Output
The MCU has 27 input/output pins (D0–D9, R0 0–R43) and 8 input pins (D12, D13, RC0, RD0– RD3, RE0). The
features are described below. Some input/output pins have different features between the HD404054 Series
and HD404094 Series. The differences between the HD404054 Series and HD404094 Series are listed in
table 19.
• A maximum current of 15 mA is allowed for each of the pins D4 to D9 with a total maximum current of
less than 105 mA. In addition, D0–D3 can each act as a 10-mA maximum current source.
• Some input/output pins are multiplexed with peripheral function pins such as for the timers or serial
interface. For these pins, the peripheral function setting is done prior to the D or R port setting.
Therefore, when a peripheral function is selected for a pin, the pin function and input/output selection
are automatically switched according to the setting.
• Input or output selection for input/output pins and port or peripheral function selection for multiplexed
pins are set by software.
• Peripheral function output pins are CMOS output pins. Only the R43/SO1 pin can be set to NMOS open-
drain output by software.
• In stop mode, the MCU is reset, and therefore peripheral function selection is cancelled. Input/output
pins are in high-impedance state.
• Pins D0–D3 have built-in pull-down MOSs, and other input/output pins have built-in pull-up MOSs,
which can be individually turned on or off by software.
I/O buffer configuration is shown in figure 19 programmable I/O circuits are listed in table 20, and I/O pin
circuit types are shown in table 21.
Table 19 The differences between HD404054 Series and HD404094 Series
Large-current source pins (15 mA)
Large-current sink pins (10 mA)
Intermediate voltage NMOS open-drain
pins (12 V)
Pull-down MOS current pins
Pull-up MOS current pins
HD404054 Series
D0–D3
D4–D9

D0–D3
D4–D9, R0–R4
HD404094 Series
D0–D3
D8, D9
D4–D7 (output only)
D0–D3
D8, D9, R0–R4
32