CHAPTER 14 PORT FUNCTIONS
User’s Manual U14359EJ4V0UM
482
(b) Port 5 mode control register (PMC5)
This register can be read/written in 8-bit or 1-bit units.
7
6
5
4
3
2
1
0
Address
After reset
PMC5
0
0
0
0
0
PMC52
PMC51
PMC50
FFFFF44AH
00H
Bit position
Bit name
Function
2
PMC52
Port Mode Control
Specifies operation mode of P52 pin.
0: I/O port mode
1: TO03 output mode
1
PMC51
Port Mode Control
Specifies operation mode of P51 pin.
0: I/O port mode
1: External input request (INTP031) input mode
0
PMC50
Port Mode Control
Specifies operation mode of P50 pin.
0: I/O port mode
1: External interrupt request (INTP030) input mode/TI030 input mode
There is no register that switches between the external interrupt request
(INTP030) input mode and TI030 input mode.
•
When the TI030 input mode is selected:
Mask the external interrupt request (INTP030) or specify the CCC30 register as
a compare register.
•
When the external interrupt request (INTP030) input mode (including timer
capture input) is selected:
Set the ETI3 bit of the TMCC31 register to 0.