Table 4.1A Port Function; Table 4.1B Port Register - Fujitsu F2MC-8L MB89620 Series Hardware Manual

8-bit microcontroller
Table of Contents

Advertisement

Table 4.1a Port Function

Port
Pin name
P00/AD0 to
Port 0
P07/AD7
P10/A08 to
Port 1
P17/A15
P20/BUFC to
Port 2
P27/ALE
P30/ADST/
Port 3
(CLKO)* to
P37/PTO
P40 to
Port 4
P47/SI2
P50/AN0 to
Port 5
P57/AN7
P60/INT0 to
Port 6
P63/INT3,
P64
*: CLKO output function (MB89628R, MB89629R, and MB89P629 only)

Table 4.1b Port Register

Port 0 data register (PDR0)
Port 0 data direction register (DDR0)
Port 1 data register (PDR1)
Port 1 data direction register (DDR1)
Port 2 data register (PDR2)
External bus pin control register (BCTR)
Port 3 data register (PDR3)
Port 3 data direction register (DDR3)
Port 4 data register (PDR4)
Port 5 data register (PDR5)
Port 6 data register (PDR6)
*1: Reading and writing is only permitted in single-chip mode.
*2: Writing is only permitted in external bus mode.
*3: Bit manipulation instructions cannot be used on DDR0, DDR1, and DDR3.
MB89620 series
Input
Output
Function
type
type
General-purpose I/O port
External bus mode
CMOS
General-purpose I/O port
External bus mode
CMOS
Output-only port
push-pull
External bus mode
General-purpose I/O port
Peripherals
CMOS
(hysteresis)
General-purpose I/O port
Peripherals
N-ch
open-drain
Analog
Output-only port
channel
Analog input
selector
Input-only port
CMOS
(hysteresis)
External interrupts
Register
*3
*3
*3
Bit 7 Bit 6
Bit 5 Bit 4 Bit 3 Bit 2 Bit 1
P07
P06
P05
P04
P03
AD7
AD6
AD5
AD4
AD3
P17
P16
P15
P14
P13
A15
A14
A13
A12
A11
P27
P26
P25
P24
P23
ALE
RD
WR
CLK
RDY
P37
P36
P35
P34
P33
PTO
WTO
PWC
EC
SI1
P47
P46
P45
P44
P43
SI2
SO2
SCK2
BZ
P57
P56
P55
P54
P53
AN7
AN6
AN5
AN4
AN3
P64
P63
INT3
Read/Write
Address
0000
R/W
*1
H
0001
W
*1
H
*1
R/W
0002
H
W
*1
0003
H
R/W
0004
H
*2
0005
W
H
R/W
000C
H
W
000D
H
R/W
000E
H
R/W
0010
H
R
0011
H
R/W : Readable and writable
R : Read-only
W : Write-only
X : Indeterminate
CHAPTER 4 I/O PORTS
Bit 0
P02
P01
P00
AD2
AD1
AD0
P12
P11
P10
A10
A09
A08
P22
P21
P20
HRQ
HAK
BUFC
P32
P31
P30
ADST
SO1
SCK1
(CLKO)
P42
P41
P40
P52
P51
P50
AN2
AN1
AN0
P62
P61
P60
INT2
INT1
INT0
Initial value
XXXXXXXX
B
00000000
B
XXXXXXXX
B
00000000
B
00000000
B
XXXXXX01
B
XXXXXXXX
B
00000000
B
11111111
B
11111111
B
XXXXXXXX
B
89

Advertisement

Table of Contents
loading

Table of Contents