M30621ECGP MITSUBISHI [Mitsubishi Electric Semiconductor], M30621ECGP Datasheet - Page 140
M30621ECGP
Manufacturer Part Number
M30621ECGP
Description
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Manufacturer
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet
1.M30621ECGP.pdf
(230 pages)
- Current page: 140 of 230
- Download datasheet (3Mb)
Programmable I/O Port
140
Programmable I/O Ports
The M16C/62 (80-pin version) group has 70 programmable input/output ports given below (except P85).
Note: P1, P4
Figures 1.18.1 to 1.18.4 show the programmable I/O ports. Figure 1.18.5 shows the I/O pins.
Each pin functions as a programmable I/O port and as the I/O for the built-in peripheral devices.
To use the pins as the inputs for the built-in peripheral devices, set the direction register of each pin to input
mode. When the pins are used as the outputs for the built-in peripheral devices (other than the D-A con-
verter), they function as outputs regardless of the contents of the direction registers. When pins are to be
used as the outputs for the D-A converter, do not set the direction registers to output mode. See the
descriptions of the respective functions for how to set up the built-in peripheral devices.
(1) Direction registers
(2) Port registers
(3) Pull-up control registers
• P0
• P2
• P3
• P4
• P5
• P6
• P7
• P8
• P9
• P10
Figure 1.18.6 shows the direction registers.
These registers are used to choose the direction of the programmable I/O ports. Each bit in these regis-
ters corresponds one for one to each I/O pin.
Note: There is no direction register bit for P8
Figure 1.18.7 shows the port registers.
These registers are used to write and read data for input and output to and from an external device. A
port register consists of a port latch to hold output data and a circuit to read the status of a pin. Each bit
in port registers corresponds one for one to each I/O pin.
Figure 1.18.8 shows the pull-up control registers.
The pull-up control register can be set to apply a pull-up resistance to each block of 4 ports. When ports
are set to have a pull-up resistance, the pull-up resistance is connected only when the direction register is
set for input.
0
0
0
0
0
0
0
0
0
-P0
–P2
–P3
–P4
–P5
–P6
, P7
–P8
, P9
0
–P10
7
7
7
3
7
7
1
4
2
, P7
, P8
–P9
4
7
to P4
6
6
7
, P7
, P8
7
, P7
7
7
(P8
2
5
to P7
is input port)
5
, P9
1
are not connected to external pins.
5
.
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M16C / 62 Group (80-pin)
Mitsubishi microcomputers
Related parts for M30621ECGP
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
128 x 8-BIT x 2 MAIL-BOX
Manufacturer:
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet:
Part Number:
Description:
PROGRAMMABLE BUFFERED I/0 EXPANDER
Manufacturer:
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet:
Part Number:
Description:
ELECTRONIC SOUND CONTROL WITH ELECTRONIC VOLUME FOR MULTIPLE SOURCES
Manufacturer:
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet:
Part Number:
Description:
2CH 4 MODE PRESET EQUALIZER
Manufacturer:
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet:
Part Number:
Description:
SERIAL DATA CONTROL DUAL ELECTRONIC VOLUME
Manufacturer:
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet:
Part Number:
Description:
SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS?????
Manufacturer:
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet:
Part Number:
Description:
M51996P
Manufacturer:
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet:
Part Number:
Description:
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER??
Manufacturer:
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet:
Part Number:
Description:
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
Manufacturer:
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet:
Part Number:
Description:
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
Manufacturer:
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet:
Part Number:
Description:
MITSUBISHI SEMICONDUCTOR (TRIAC) MEDIUM POWER USE INSULATED TYPE, PLANAR PASSIVATION TYPE
Manufacturer:
Mitsubishi Electric Semiconductor
Part Number:
Description:
MITSUBISHI SEMICONDUCTOR (TRIAC) LOW POWER USE GLASS PASSIVATION TYPE
Manufacturer:
Mitsubishi Electric Semiconductor
Part Number:
Description:
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER?
Manufacturer:
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet:
Part Number:
Description:
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
Manufacturer:
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet:
Part Number:
Description:
SINGLE CHIP 8 BIT CMOS MICROCOMPUTER
Manufacturer:
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet: