204
CHAPTER 5 I/O PORTS
5.3
Data Direction Register (DDR)
The data direction registers (DDR2 to DDRF) control the I/O direction of the
corresponding I/O ports in bit units.
Set 0 to perform input control, and set 1 to perform output control.
■
Configuration of Data Direction Register (DDR)
The data direction register (DDR) is configured as follows:
7
6
5
4
3
2
1
0
DDR2
Address: 000601
H
P27
P26
P25
P24
P23
P22
P21
P20
00000000
B
W
7
6
5
4
3
2
1
0
DDR3
Address: 000600
H
P37
P36
P35
P34
P33
P32
P31
P30
00000000
B
W
7
6
5
4
3
2
1
0
DDR4
Address: 000607
H
P47
P46
P45
P44
P43
P42
P41
P40
00000000
B
W
7
6
5
4
3
2
1
0
DDR5
Address: 000606
H
P57
P56
P55
P54
P53
P52
P51
P50
00000000
B
W
7
6
5
4
3
2
1
0
DDR6
Address: 000605
H
P67
P66
P65
P64
P63
P62
P61
P60
00000000
B
W
7
6
5
4
3
2
1
0
DDR7
Address: 000604
H
P70
-------0
B
W
7
6
5
4
3
2
1
0
DDR8
Address: 00060B
H
P85
P84
P83
P82
P81
P80
--000000
B
W
7
6
5
4
3
2
1
0
DDRA
Address: 000609
H
PA6
PA5
PA4
PA3
PA2
PA1
PA0
-0000000
B
W
7
6
5
4
3
2
1
0
DDRB
Address: 000608
H
PB7
PB6
PB5
PB4
PB3
PB2
PB1
PB0
00000000
B
W
7
6
5
4
3
2
1
0
DDRE
Address: 0000D2
H
PE7
PE6
PE5
PE4
PE3
PE2
PE1
PE0
00000000
B
W
7
6
5
4
3
2
1
0
DDRF
Address: 0000D3
H
PF7
PF6
PF5
PF4
PF3
PF2
PF1
PF0
00000000
B
W
Initial value
Access
Initial value
Access
Initial value
Access
Initial value
Access
Initial value
Access
Initial value
Access
Initial value
Access
Initial value
Access
Initial value
Access
Initial value
Access
Initial value
Access
Summary of Contents for MB91F109
Page 2: ......
Page 3: ...FUJITSU LIMITED FR30 32 Bit Microcontroller MB91F109 Hardware Manual ...
Page 4: ......
Page 10: ...vi ...
Page 24: ...xx ...
Page 96: ...72 CHAPTER 2 CPU ...
Page 224: ...200 CHAPTER 4 BUS INTERFACE ...
Page 234: ...210 CHAPTER 5 I O PORTS ...
Page 268: ...244 CHAPTER 9 U TIMER ...
Page 290: ...266 CHAPTER 10 UART ...
Page 314: ...290 CHAPTER 12 16 BIT RELOAD TIMER ...
Page 322: ...298 CHAPTER 13 BIT SEARCH MODULE ...
Page 392: ...368 CHAPTER 16 FLASH MEMORY ...
Page 432: ...408 APPENDIX E Instructions F Table E 2 Instruction Formats OP rel11 5 11 ...
Page 448: ...424 APPENDIX E Instructions ...
Page 449: ...425 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 458: ...434 INDEX ...
Page 460: ......
Page 461: ...FUJITSU SEMICONDUCTOR FR30 32 Bit Microcontroller MB91F109 Hardware Manual ...