CHAPTER 14 PORT FUNCTIONS
User’s Manual U14359EJ4V0UM
467
(b) Port 0 mode control register (PMC0)
This register can be read/written in 8-bit or 1-bit units.
7
6
5
4
3
2
1
0
Address
After reset
PMC0
PMC07
PMC06
PMC05
PMC04
PMC03
PMC02
PMC01
PMC00
FFFFF440H
00H
Bit position
Bit name
Function
7 to 4
PMC0n
(n = 7 to 4)
Port Mode Control
Specifies operation mode of P0n pin in combination with the PFC0 register.
0: I/O port mode
1: External interrupt request (INTP103 to INTP100) input mode/DMA request
(DMARQ3 to DMARQ0) input mode
3
PMC03
Port Mode Control
Specifies operation mode of P03 pin.
0: I/O port mode
1: TO00 output mode
2
PMC02
Port Mode Control
Specifies operation mode of P02 pin.
0: I/O port mode
1: External interrupt request (INTP001) input mode
1
PMC01
Port Mode Control
Specifies operation mode of P01 pin.
0: I/O port mode
1: External interrupt request (INTP000) input mode/TI000 input mode
There is no register that switches between the external interrupt request
(INTP000) input mode and TI000 input mode
•
When TI000 input mode is selected:
Mask the external interrupt request (INTP000) or specify the CCC00 register as
compare register.
•
When external interrupt request (INTP000) input mode (including timer capture
input) is selected:
Set the ETI0 bit of the TMCC01 register to 0.
0
PMC00
Port Mode Control
Specifies operation mode of P00 pin.
0: I/O port mode
1: PWM0 output mode