|
HD404356 Datasheet, PDF (32/100 Pages) Hitachi Semiconductor – 4-bit HMCS400-Series microcomputer | |||
|
◁ |
HD404358 Series
Input/Output
The MCU has 33 input/output pins (D0âD8, R0âR4, R8) and an input pin (RA1). The features are described
below.
⢠Four pins (R20âR23) are high-current (15 mA max) input/output with intermediate voltage NMOS open
drain pins.
⢠The D0âD4, R0, R3âR4 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 R02/SO 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.
⢠Each input/output pin except for R2 has a built-in pull-up MOS, 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 21, and I/O pin
circuit types are shown in table 22.
Table 21 Programmable I/O Circuits
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
â
â
â
â
â
On
â
On
Note: â indicates off status.
32
|
▷ |