
134
Chapter 4
Port Functions
User’s Manual U16702EE3V2UD00
(b) Port mode register 4 (PM4)
This is an 8-bit register used to specify the input mode/output mode.
This register can be read and written in 8-bit or 1-bit units.
Figure 4-30:
Port Mode Register 4 (PM4) Format
(c) Port mode control register 4 (PMC4)
This is an 8-bit register used to specify the port mode/control mode.
It can be read and written in 8-bit or 1-bit units.
Figure 4-31:
Port Mode Control Register 4 (PMC4) Format
Symbol
7
6
5
4
3
2
1
0
Address
After reset
PM4
1
1
1
1
1
PM42
PM41
PM40
FFFFF428H
FFH
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
PM4n
I/O mode control (n = 0 to 2)
0
Output mode
1
Input mode
Symbol
7
6
5
4
3
2
1
0
Address
After reset
PMC4
0
0
0
0
0
PMC42
PMC41
PMC40
FFFFF448H
00H
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
PMC42
P42 pin operation mode specification
0
I/O port
1
SCKB0 Input (Serial clock input/output for CSIB0)
PMC41
P41 pin operation mode specification
0
I/O port
1
SOB0 output (Serial output for CSIB0)
PMC40
P40 pin operation mode specification
0
I/O port
1
SIB0 input (Serial input for CSIB0)
electronic components distributor