CHAPTER 4 PORT FUNCTIONS
User’s Manual U16896EJ2V0UD
82
(3) Port 3 mode control register (PMC3)
PMC3 (PMC3H
Note 1
)
I/O port
SCL0 I/O
PMC39
0
1
Specification of P39 pin operation mode
I/O port
SDA0 I/O
PMC38
0
1
Specification of P38 pin operation mode
I/O port
TI010 input/TO01 output
PMC35
0
1
Specification of P35 pin operation mode
I/O port
TIP01 input/TOP01 output
PMC34
0
1
Specification of P34 pin operation mode
I/O port
TIP00 input/TOP00 output
PMC33
0
1
Specification of P33 pin operation mode
I/O port
ASCK0 input/ADTRG input/TO01 output
PMC32
0
1
Specification of P32 pin operation mode
I/O port
RXD0 input/INTP7 input
Note 3
PMC31
0
1
Specification of P31 pin operation mode
I/O port
TXD0 output
PMC30
0
1
Specification of P30 pin operation mode
After reset: 0000H R/W Address: PMC3 FFFFF446H,
PMC3L FFFFF446H, PMC3H FFFFF447H
0
0
PMC35
PMC34
PMC33
PMC32
PMC31
PMC30
0
0
0
0
0
0
PMC39
Note 2
PMC38
Note 2
8
9
10
11
12
13
14
15
(PMC3L)
Notes 1.
When reading from or writing to bits 8 to 15 of the PMC3 register in 8-bit or 1-bit units,
specify these bits as bits 0 to 7 of the PMC3H register.
2.
Valid only in the
μ
PD703302Y and 70F3302Y. In all other products, set this bit to 0.
3.
The INTP7 and RXD0 pins are alternate-function pins. When using the pin as the
RXD0 pin, disable edge detection of the alternate-function INTP7 pin (clear the
INTF3.INTF31 and INTR3.INTR31 bits to 0). When using the pin as the INTP7 pin,
stop the UART0 receive operation (clear the ASIM0.RXE0 bit to 0).
Remark
The PMC3 register can be read or written in 16-bit units.
When the higher 8 bits and the lower 8 bits of the PMC3 register are used as the
PMC3H register and as the PMC3L register, respectively, this register can be read or
written in 8-bit or 1-bit units.