CHAPTER 14 PORT FUNCTIONS
User’s Manual U14359EJ4V0UM
476
(b) Port 3 mode control register (PMC3)
This register can be read/written in 8-bit or 1-bit units.
7
6
5
4
3
2
1
0
Address
After reset
PMC3
PMC37
PMC36
PMC35
PMC34
PMC33
PMC32
PMC31
PMC30
FFFFF446H
00H
Bit position
Bit name
Function
7
PMC37
Port Mode Control
Specifies operation mode of P37 pin.
0: I/O port mode
1: A/D converter external trigger (ADTRG) input mode/
External interrupt request (INTP123) input mode
There is no register that switches between the A/D converter external trigger
(ADTRG) input mode and external interrupt request (INTP123) input mode.
•
When the A/D converter external trigger (ADTRG) input mode is selected:
Set to external trigger mode using the ADM1 register.
•
When the external interrupt request (INTP123) input mode is selected:
Set to the mode other than external trigger mode using the ADM1 register.
6
PMC36
Port Mode Control
Specifies operation mode of P36 pin.
0: I/O port mode
1: External interrupt request (INTP122) input mode
5
PMC35
Port Mode Control
Specifies operation mode of P35 pin.
0: I/O port mode
1: External interrupt request (INTP121) input mode
4
PMC34
Port Mode Control
Specifies operation mode of P34 pin.
0: I/O port mode
1: RXD2 input mode/External interrupt request (INTP120) input mode
3
PMC33
Port Mode Control
Specifies operation mode of P33 pin.
0: I/O port mode
1: TXD2 output mode/External interrupt request (INTP133) input mode
2
PMC32
Port Mode Control
Specifies operation mode of P32 pin.
0: I/O port mode
1: SCK2 input/output mode/External interrupt request (INTP132) input mode
1
PMC31
Port Mode Control
Specifies operation mode of P31 pin.
0: I/O port mode
1: SI2 input mode/External interrupt request (INTP131) input mode
0
PMC30
Port Mode Control
Specifies operation mode of P30 pin.
0: I/O port mode
1: SO2 output mode/External interrupt request (INTP130) input mode