Port Registers (Pdr0 To Pdra) - Fujitsu MB90480 Series Hardware Manual

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 8 I/O PORT
8.2.1

Port registers (PDR0 to PDRA)

This section shows the configuration and explains the functions of port registers
(PDR0 to PDRA)
Port registers (PDR0 to PDRA)
Figure 8.2-1 shows a list of port registers (PDR0 to PDRA).
PDR0
Address:000000
PDR1
Address:000001
PDR2
Address:000002
PDR3
Address:000003
PDR4
Address:000004
PDR5
Address:000005
PDR6
Address:000006
PDR7
Address:000007
PDR8
Address:000008
PDR9
Address:000009
PDRA
Address:00000A
*1: R/W access to I/O ports slightly differs in operation from R/W access to memory. Be careful about such
R/W access because it operates as follows:
- 0: Input mode
-- During reading: The level of the relevant pins is read and output.
-- During writing: Writing is performed on the latch for output.
- 1: Output mode
- During reading: The value of the data register latch is read and output.
- During writing: Output is to the relevant pins.
*2: The initial value of MB90485 series is "11XXXXXX
180
Figure 8.2-1 List of port registers (PDR0 to PDRA)
7
6
5
P07
P06
P05
P04
H
7
6
5
P17
P16
P15
P14
H
7
6
5
P27
P26
P25
P24
H
7
6
5
P37
P36
P35
P34
H
7
6
5
P47
P46
P45
P44
H
7
6
5
P57
P56
P55
P54
H
7
6
5
P67
P66
P65
P64
H
7
6
5
P77
P76
P75
P74
H
7
6
5
P87
P86
P85
P84
H
7
6
5
P97
P96
P95
P94
H
7
6
5
-
-
-
H
4
3
2
1
P03
P02
P01
4
3
2
1
P13
P12
P11
4
3
2
1
P23
P22
P21
4
3
2
1
P33
P32
P31
4
3
2
1
P43
P42
P41
4
3
2
1
P53
P52
P51
4
3
2
1
P63
P62
P61
4
3
2
1
P73
P72
P71
4
3
2
1
P83
P82
P81
4
3
2
1
P93
P92
P91
4
3
2
1
-
PA3
PA2
PA1
"
B
0
Initial value
Access
P00
Undefined
R/W *
0
P10
Undefined
R/W *
0
P20
Undefined
R/W *
0
P30
Undefined
R/W *
0
P40
Undefined
R/W *
0
P50
Undefined
R/W *
0
P60
Undefined
R/W *
0
P70
2
Undefined
*
R/W *
0
P80
Undefined
R/W *
0
P90
Undefined
R/W *
0
PA0
Undefined
R/W *
1
1
1
1
1
1
1
1
1
1
1

Advertisement

Table of Contents
loading

Table of Contents