
157
CHAPTER 5 I/O PORTS
5.7
Data Direction Register (DDR)
The data direction registers (DDR2 to DDR1) control in units of bits whether the
corresponding I/O ports perform input or output. When 0 is set, input is performed,
when 1 is set, output is performed.
■
Data direction register (DDR)
The register configuration of the data direction register (DDR) is shown below.
DDR2
7
6
5
4
3
2
1
0
000601
H
P27
P26
P25
P24
P23
P22
P21
P20
00000000
B
W
DDR3
7
6
5
4
3
2
1
0
000600
H
P37
P36
P35
P34
P33
P32
P31
P30
00000000
B
W
DDR4
7
6
5
4
3
2
1
0
000607
H
P47
P46
P45
P44
P43
P42
P41
P40
00000000
B
W
DDR5
7
6
5
4
3
2
1
0
000606
H
P57
P56
P55
P54
P53
P52
P51
P50
00000000
B
W
DDR6
7
6
5
4
3
2
1
0
000605
H
P67
P66
P65
P64
P63
P62
P61
P60
00000000
B
W
DDR8
7
6
5
4
3
2
1
0
00060B
H
-
P86
P85
P84
P83
P82
P81
P80
-0000000
B
W
DDRC
7
6
5
4
3
2
1
0
0000FF
H
PC7
PC6
PC5
PC4
PC3
PC2
PC1
PC0
00000000
B
R/W
DDRD
7
6
5
4
3
2
1
0
0000FE
H
PD7
PD6
PD5
PD4
PD3
PD2
PD1
PD0
00000000
B
R/W
DDRE
7
6
5
4
3
2
1
0
0000FD
H
PE7
PE6
PE5
PE4
PE3
PE2
PE1
PE0
00000000
B
R/W
DDRF
7
6
5
4
3
2
1
0
0000FC
H
-
-
-
PF4
PF3
PF2
PF1
PF0
---00000
B
R/W
DDRG
7
6
5
4
3
2
1
0
000103
H
-
-
PG5
PG4
PG3
PG2
PG1
PG0 --000000
B
B
R/W
DDRH
7
6
5
4
3
2
1
0
000102
H
-
-
PH5
PH4
PH3
PH2
PH1
PH0
-- 000000
R/W
DDRI
7
6
5
4
3
2
1
0
000101
H
-
TEST
PI5
PI4
PI3
PI2
PI1
PI0
- 0000000
B
R/W
DDRK
7
6
5
4
3
2
1
0
000107
H
PK7
PK6
PK5
PK4
PK3
PK2
PK1
PK0
00000000
B
R/W
DDRL
7
6
5
4
3
2
1
0
000106
H
PL7
PL6
PL5
PL4
PL3
PL2
PL1
PL0
00000000
B
R/W
Address:
Address:
Address:
Address:
Address:
Address:
Address:
Address:
Address:
Address:
Address:
Address:
Address:
Address:
Address:
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
Initial value
Access
Initial value
Access
Initial value
Access
Initial value
Access
Summary of Contents for MB91150 Series
Page 1: ......
Page 2: ......
Page 3: ...FUJITSU LIMITED FR30 32 BIT MICROCONTROLLER MB91150 Series HARDWARE MANUAL ...
Page 4: ......
Page 10: ...vi ...
Page 112: ...96 CHAPTER 3 MEMORY SPACE CPU AND CONTROL UNIT ...
Page 178: ...162 CHAPTER 5 I O PORTS ...
Page 214: ...198 CHAPTER 7 16 BIT RELOAD TIMER ...
Page 240: ...224 CHAPTER 8 PPG TIMER ...
Page 310: ...294 CHAPTER 13 8 10 BIT A D CONVERTER ...
Page 318: ...302 CHAPTER 14 8 BIT D A CONVERTER ...
Page 362: ...346 CHAPTER 15 UART ...
Page 420: ...404 CHAPTER 19 PERIPHERAL STOP CONTROL ...
Page 428: ...412 CHAPTER 20 CALENDAR MACROS ...
Page 503: ...487 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 510: ...494 INDEX ...
Page 512: ......