English
Language : 

MB90473 Datasheet, PDF (32/118 Pages) Fujitsu Component Limited. – 16-Bit Proprietary Microcontroller
MB90470 Series
(2) Port Direction Registers
DDR0
7
6
5
4
3
2
1
0 Default value Access
Address : 000010H D07 D06 D05 D04 D03 D02 D01 D 00
00000000
R/W
DDR1
7
6
5
4
3
2
1
0
Address : 000011H D17 D16 D15 D14 D13 D12 D11 D10
00000000
R/W
DDR2
7
6
5
4
3
2
1
0
Address : 000012H D27 D26 D25 D24 D23 D22 D21 D20
00000000
R/W
DDR3
7
6
5
4
3
2
1
0
Address : 000013H D37 D36 D35 D34 D33 D32 D31 D30
00000000
R/W
DDR4
7
6
5
4
3
2
1
0
Address : 000014H D47 D46 D45 D44 D43 D42 D41 D40
00000000
R/W
DDR5
7
6
5
4
3
2
1
0
Address : 000015H D57 D56 D55 D54 D53 D52 D51 D50
00000000
R/W
DDR6
7
6
5
4
3
2
1
0
Address : 000016H D67 D66 D65 D64 D63 D62 D61 D60
00000000
R/W
DDR7
7
Address : 000017H 
6
5
4
3
2
1
0

D75 D74 D73 D72 D71 D70
00000000 R/W
DDR8
7
6
5
4
3
2
1
0
Address : 000018H D87 D86 D85 D84 D83 D82 D81 D80
00000000
R/W
DDR9
7
6
5
4
3
2
1
0
Address : 000019H D97 D96 D95 D94 D93 D92 D91 D90
00000000
R/W
DDRA
7
6
5
4
3
2
1
0
Address : 00001AH 



DA3 DA2 DA1 DA0
- - - - 0000
R/W
• When a pin is functioning as a port, the corresponding pin control setting is as follows :
0 : Input mode
1 : Output mode
The register value is “0” at reset.
• Port 76, 77
These ports do not have DDR registers. Data at these pins is always valid, so that when P76, P77 are used
as I2C pins the PDR value should be “1”. (The I2C functions should be stopped, when these pins are used as
P76,P77 .)
These ports have open drain configuration. If they are used as input ports, the output transistor is turned off,
so that the output data register must be set to “1” and pull-up resistance applied.
Note : If these registers are accessed using read-modify-write instructions (such as bit set instructions) ,the bit that
is the object of the instruction will be set to the specified value but for other bits the value of the corresponding
output register will be rewritten to the input value of the pin at that time. For this reason when a pin used for
input is switched to output, first write the desired value to the PDR register, then set the DDR register to
switch the pin direction.
32