78
Chapter 2
Pin Functions
Preliminary User’s Manual U17566EE1V2UM00
2.4.8
Port group 4
Port group 4 is an 8-bit port group. In alternative mode, it comprises pins for
the following functions:
• Clocked Serial Interface CSIB0 data/clock line (SIB0, SOB0, SCKB0)
• Clocked Serial Interface CSIB1 data/clock line (SIB1, SOB1, SCKB1)
• LCD controller segment signal output (SEG20 to SEG22) (µPD70(F)3420,
µPD70(F)3421, µPD70(F)3422, µPD70F3423 only)
• CAN0 transmit/receive data (CTXD0, CRXD0)
Port group 4 includes the following pins:
Note
The alternative
input
function of CSIB0 isprovided on two pins. Thus you can
select on which pin the alternative function should appear.
Refer to
“Alternative input selection“ on page 50
.
Access
All 8-bit registers can be accessed in 8-bit or 1-bit units.
Table 2-30
Port group 4: pin functions and port types
Pin functions in different modes
Pin function
after reset
Port type
Port mode
(PMCnm = 0)
Alternative mode
(PMCnm = 1)
LCD mode
(PLCDCnm = 1)
a
Output mode
(PMnm = 0)
Input mode
(PMnm = 1)
P40 (I/O)
–
SIB0
–
P40 (I)
M
P41 (I/O)
SOB0
–
–
P41 (I)
M
P42 (I/O)
SCKB0
SCKB0
–
P42 (I)
M
P43 (I/O)
–
SIB1
SEG22
a
P43 (I)
M
P44 (I/O)
SOB1
–
SEG21
a
P44 (I)
M
P45 (I/O)
SCKB1
SCKB1
SEG20
a
P45 (I)
M
P46 (I/O)
–
CRXD0
–
P46 (I)
M
P47 (I/O)
CTXD0
–
–
P47 (I)
M
a)
µPD70(F)3420, µPD70(F)3421, µPD70(F)3422, µPD70F3423 only
Table 2-31
Port group 4: configuration registers
Register
Address
Initial
value
Used bits
PM4
FFFF F428
H
FF
H
PM47
PM46
PM45
PM44
PM43
PM42
PM41
PM40
PMC4
FFFF F448
H
00
H
PMC47
PMC46
PMC45
PMC44
PMC43
PMC42
PMC41
PMC40
PLCDC4
a
a)
µPD70(F)3420, µPD70(F)3421, µPD70(F)3422, µPD70F3423 only
FFFF F348
H
00
H
X
X
PLCDC45
PLCDC44
PLCDC43
X
X
X
P4
FFFF F408
H
00
H
P47
P46
P45
P44
P43
P42
P41
P40
PPR4
FFFF F3C8
H
00
H
PPR47
PPR46
PPR45
PPR44
PPR43
PPR42
PPR41
PPR40
PDSC4
FFFF F308
H
00
H
PDSC47
PDSC46
PDSC45
PDSC44
PDSC43
PDSC42
PDSC41
PDSC40
PICC4
FFFF F388
H
00
H
PICC47
PICC46
PICC45
PICC44
PICC43
PICC42
PICC41
PICC40
PODC4
FFFF F368
H
00
H
PODC47
PODC46
PODC45
PODC44
PODC43
PODC42
PODC41
PODC40
electronic components distributor