CHAPTER 12 PORT FUNCTIONS
569
User’s Manual U15195EJ5V0UD
(b) Port 3 mode control register (PMC3)
This register can be read or written in 8-bit or 1-bit units.
7
0
PMC3
6
0
5
0
4
PMC34
3
PMC33
2
PMC32
1
PMC31
0
PMC30
Address
FFFFF446H
After reset
00H
Bit position
Bit name
Function
4
PMC34
Specifies operation mode of P34 pin
0: I/O port mode
1: ASCK1/SCK1 I/O mode
3
PMC33
Specifies operation mode of P33 pin
0: I/O port mode
1: TXD1/SO1 output mode
2
PMC32
Specifies operation mode of P32 pin
0: I/O port mode
1: RXD1/SI1 input mode
1
PMC31
Specifies operation mode of P31 pin
0: I/O port mode
1: TXD0 output mode
0
PMC30
Specifies operation mode of P30 pin
0: I/O port mode
1: RXD0 input mode
(c) Port 3 function control register (PFC3)
This register can be read or written in 8-bit or 1-bit units. Write 0 in bits other than 2 to 4.
Caution When port mode is specified by the port 3 mode control register (PMC3), the setting of
this register is invalid.
7
0
PFC3
6
0
5
0
4
PFC34
3
PFC33
2
PFC32
1
0
0
0
Address
FFFFF466H
After reset
00H
Bit position
Bit name
Function
4
PFC34
Specifies operation mode of P34 pin in control mode
0: ASCK1 I/O mode
1: SCK1 I/O mode
3
PFC33
Specifies operation mode of P33 pin in control mode
0: TXD1 output mode
1: SO1 output mode
2
PFC32
Specifies operation mode of P32 pin in control mode
0: RXD1 input mode
1: SI1 input mode