MB89620 series
CHAPTER 4 I/O PORTS
89
*: CLKO output function (MB89628R, MB89629R, and MB89P629 only)
*1: Reading and writing is only permitted in single-chip mode.
R/W : Readable and writable
*2: Writing is only permitted in external bus mode.
R : Read-only
*3: Bit manipulation instructions cannot be used on DDR0, DDR1, and DDR3.
W : Write-only
X : Indeterminate
Table 4.1a Port Function
Port
Pin name
Input
type
Output
type
Function
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Port 0
P00/AD0 to
P07/AD7
CMOS
CMOS
push-pull
General-purpose I/O port
P07
P06
P05
P04
P03
P02
P01
P00
External bus mode
AD7
AD6
AD5
AD4
AD3
AD2
AD1
AD0
Port 1
P10/A08 to
P17/A15
General-purpose I/O port
P17
P16
P15
P14
P13
P12
P11
P10
External bus mode
A15
A14
A13
A12
A11
A10
A09
A08
Port 2
P20/BUFC to
P27/ALE
—
Output-only port
P27
P26
P25
P24
P23
P22
P21
P20
External bus mode
ALE
RD
WR
CLK
RDY
HRQ
HAK
BUFC
Port 3
P30/ADST/
(CLKO)* to
P37/PTO
CMOS
(hysteresis)
General-purpose I/O port
P37
P36
P35
P34
P33
P32
P31
P30
Peripherals
PTO
WTO
PWC
EC
SI1
SO1
SCK1
ADST
(CLKO)
Port 4
P40 to
P47/SI2
N-ch
open-drain
General-purpose I/O port
P47
P46
P45
P44
P43
P42
P41
P40
Peripherals
SI2
SO2
SCK2
BZ
—
—
—
—
Port 5
P50/AN0 to
P57/AN7
Analog
channel
selector
Output-only port
P57
P56
P55
P54
P53
P52
P51
P50
Analog input
AN7
AN6
AN5
AN4
AN3
AN2
AN1
AN0
Port 6
P60/INT0 to
P63/INT3,
P64
CMOS
(hysteresis)
—
Input-only port
—
—
—
P64
P63
P62
P61
P60
External interrupts
—
—
—
—
INT3
INT2
INT1
INT0
Table 4.1b Port Register
Register
Read/Write
Address
Initial value
Port 0 data register (PDR0)
R/W
*1
0000
H
XXXXXXXX
B
Port 0 data direction register (DDR0)
*3
W
*1
0001
H
00000000
B
Port 1 data register (PDR1)
R/W
*1
0002
H
XXXXXXXX
B
Port 1 data direction register (DDR1)
*3
W
*1
0003
H
00000000
B
Port 2 data register (PDR2)
R/W
0004
H
00000000
B
External bus pin control register (BCTR)
W
*2
0005
H
XXXXXX01
B
Port 3 data register (PDR3)
R/W
000C
H
XXXXXXXX
B
Port 3 data direction register (DDR3)
*3
W
000D
H
00000000
B
Port 4 data register (PDR4)
R/W
000E
H
11111111
B
Port 5 data register (PDR5)
R/W
0010
H
11111111
B
Port 6 data register (PDR6)
R
0011
H
XXXXXXXX
B
Содержание F2MC-8L MB89620 Series
Страница 8: ......
Страница 10: ...MB89620 series ...
Страница 11: ...vi MB89620 series ...
Страница 17: ...xii MB89620 series ...
Страница 18: ...xvi MB89620 series ...
Страница 30: ...MB89620 series CHAPTER 1 OVERVIEW 9 Memo ...
Страница 34: ...MB89620 series CHAPTER 1 OVERVIEW 13 Memo ...
Страница 42: ...MB89620 series CHAPTER 1 OVERVIEW 21 Memo ...
Страница 49: ...28 CHAPTER 1 OVERVIEW MB89620 series ...
Страница 62: ...MB89620 series CHAPTER 3 CPU 41 Memo ...
Страница 78: ...MB89620 series CHAPTER 3 CPU 57 Memo ...
Страница 82: ...MB89620 series CHAPTER 3 CPU 61 Memo ...
Страница 86: ...MB89620 series CHAPTER 3 CPU 65 Memo ...
Страница 90: ...MB89620 series CHAPTER 3 CPU 69 Memo ...
Страница 96: ...MB89620 series CHAPTER 3 CPU 75 Memo ...
Страница 122: ...MB89620 series CHAPTER 4 I O PORTS 101 Memo ...
Страница 144: ...MB89620 series CHAPTER 5 TIMEBASE TIMER 123 Memo ...
Страница 149: ...128 CHAPTER 5 TIMEBASE TIMER MB89620 series ...
Страница 157: ...136 CHAPTER 6 WATCHDOG TIMER MB89620 series ...
Страница 174: ...MB89620 series CHAPTER 7 8 BIT PWM TIMER 153 Memo ...
Страница 177: ...156 CHAPTER 7 8 BIT PWM TIMER MB89620 series ...
Страница 202: ...MB89620 series CHAPTER 9 16 BIT TIMER COUNTER 181 Memo ...
Страница 217: ...196 CHAPTER 9 16 BIT TIMER COUNTER MB89620 series ...
Страница 220: ...MB89620 series CHAPTER 10 8 BIT SERIAL I O SERIAL I O 1 AND SERIAL I O 2 199 Memo ...
Страница 228: ...MB89620 series CHAPTER 10 8 BIT SERIAL I O SERIAL I O 1 AND SERIAL I O 2 207 Memo ...
Страница 245: ...224 CHAPTER 10 8 BIT SERIAL I O SERIAL I O 1 AND SERIAL I O 2 MB89620 series ...
Страница 266: ...MB89620 series CHAPTER 13 A D CONVERTER 245 13 Memo ...
Страница 283: ...262 CHAPTER 13 A D CONVERTER MB89620 series ...
Страница 289: ...268 CHAPTER 14 CLOCK MONITOR FUNCTION MB89620 series ...
Страница 306: ...MB89620 series APPENDIX 285 APPEND Memo ...
Страница 319: ...298 APPENDIX MB89620 series Memo ...
Страница 321: ...2 ...
Страница 354: ......