Port Registers (Pdr0 To Pdra) - Fujitsu F2MC-16LX Hardware Manual

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

Advertisement

Table of Contents
loading

Table of Contents