MB90210 Series
34
s PERIPHERAL RESOURCES
1. Parallel Ports
The MB90210 series has 57 I/O pins and 8 open-drain I/O pins.
Ports 0 to 5, 7, and 8 are I/O ports. Each of these ports serves as an input port when the data direction register
value is 0 and as an output port when the value is 1.
Port 6 is an open-drain port, which may be used as a port when the analog input enable register value is 0.
(1) Register Configuration
Port data registers 0 to 8 (PDR0 to PDR8)
Port direction registers 0 to 5, 7, and 8 (DDR0 to DDR5, DDR7, and DDR8)
000001 H
000003H
000005H
000007H
PDR1
PDR3
PDR5
PDR7
Address:
Port data register
000000 H
000002H
000004H
000006H
000008H
PDR0
PDR2
PDR4
PDR6
PDR8
Address:
Port data register
15
14
13
12
11
10
9
8
7654
3210
Bit
PDx7
PDx0
PDx1
PDx2
PDx3
PDx4
PDx5
PDx6
PDx7
PDx0
PDx1
PDx2
PDx3
PDx4
PDx5
PDx6
PDRx
← Only for the PDR6
Note: No register bit is included in bits 7 and 6 of port 7 or bits 7 to 3 of port 8.
(R/W)
(X)
(R/W)
(X)
(R/W)
(X)
(R/W)
(X)
(R/W)
(X)
(R/W)
(X)
(R/W)
(X)
(R/W)
(X)
(R/W)
(X)
(1)
(R/W)
(X)
(1)
(R/W)
(X)
(1)
(R/W)
(X)
(1)
(R/W)
(X)
(1)
(R/W)
(X)
(1)
(R/W)
(X)
(1)
(R/W)
(X)
(1)
Read/write
Initial value
Read/write
Initial value
→
000011 H
000013H
000015H
000017H
DDR1
DDR3
DDR5
DDR7
Address:
Port direction register
000010 H
000012H
000014H
000018H
DDR0
DDR2
DDR4
DDR8
Address:
Port direction register
15
14
13
12
11
10
9
8
7654
3210
Bit
DDx7
DDx0
DDx1
DDx2
DDx3
DDx4
DDx5
DDx6
DDx7
DDx0
DDx1
DDx2
DDx3
DDx4
DDx5
DDx6
DDRx
No register bit is included in bits 7 and 6 of port 7 or bits 7 to 3 of port 8.
Port 6 has no DDR.
Note:
(R/W)
(0)
(R/W)
(0)
(R/W)
(0)
(R/W)
(0)
(R/W)
(0)
(R/W)
(0)
(R/W)
( 0)
(R/W)
(0)
(R/W)
(0)
(R/W)
(0)
(R/W)
(0)
(R/W)
(0)
(R/W)
(0)
(R/W)
(0)
(R/W)
(0)
(R/W)
(0)
Read/write
Initial value
Read/write
Initial value
→