123
Port Mode Register 1 (PMR1)
Bit
7
6
5
4
3
2
1
0
IRQ3
IRQ2
IRQ1
PWM
TMIG
TMOFH
TMOFL
TMOW
Initial value
0
0
0
0
0
0
0
0
Read/Write
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
PMR1 is an 8-bit read/write register, controlling the selection of pin functions for port 1 pins.
Upon reset, PMR1 is initialized to H'00.
Bit 7—P1
7
/
IRQ
3
/TMIF Pin Function Switch (IRQ3): This bit selects whether pin
P1
7
/
IRQ
3
/TMIF is used as P1
7
or as
IRQ
3
/TMIF.
Bit 7: IRQ3
Description
0
Functions as P1
7
I/O pin
(initial value)
1
Functions as
IRQ
3
/TMIF input pin
Note:
Rising or falling edge sensing can be designated for IRQ
3
/TMIF.
For information about TMIF pin settings, see 9.3.2 (3), Timer Control Register F (TCRF).
Bit 6—P1
6
/
IRQ
2
/TMCIY Pin Function Switch (IRQ2): This bit selects whether pin
P1
6
/
IRQ
2
/TMCIY is used as P1
6
or as
IRQ
2
/TMCIY.
Bit 6: IRQ2
Description
0
Functions as P1
6
I/O pin
(initial value)
1
Functions as
IRQ
2
/TMCIY input pin
Note:
Rising or falling edge sensing can be designated for
IRQ
2
/TMCIY.
For information on TMCIY setting, see Timer Mode Register Y (TMY), in 9.5.2.
Bit 5—P1
5
/
IRQ
1
Pin Function Switch (IRQ1): This bit selects whether pin P1
5
/
IRQ
1
is used as
P1
5
or as
IRQ
1
.
Bit 5: IRQ1
Description
0
Functions as P1
5
I/O pin
(initial value)
1
Functions as
IRQ
1
input pin
Note:
Rising or falling edge sensing can be designated for IRQ
1
.