CHAPTER 14 PORT FUNCTIONS
User’s Manual U14359EJ4V0UM
470
(b) Port 1 mode control register (PMC1)
This register can be read/written in 8-bit or 1-bit units.
7
6
5
4
3
2
1
0
Address
After reset
PMC1
0
0
0
0
PMC13
PMC12
PMC11
PMC10
FFFFF442H
00H
Bit position
Bit name
Function
3
PMC13
Port Mode Control
Specifies operation mode of P13 pin.
0: I/O port mode
1: TO01 output mode
2
PMC12
Port Mode Control
Specifies operation mode of P12 pin.
0: I/O port mode
1: External interrupt request (INTP011) input mode
1
PMC11
Port Mode Control
Specifies operation mode of P11 pin.
0: I/O port mode
1: External interrupt request (INTP010) input mode/TI010 input mode
There is no register that switches between the external interrupt request
(INTP010) input mode and TI010 input mode.
•
When the TI010 input mode is selected:
Mask the external interrupt (INTP010) or specify the CCC10 register as
compare register.
•
When external interrupt request (INTP010) input mode (including timer capture
input) is selected:
Set the ETI1 bit of the TMCC11 register to 0.
0
PMC10
Port Mode Control
Specifies operation mode of P10 pin.
0: I/O port mode
1: PWM1 output mode