Datasheet
Section 9 I/O Ports 
Rev.5.00 Nov. 02, 2005 Page 110 of 500 
REJ09B0027-0500   
9.1.1  Port Mode Register 1 (PMR1) 
PMR1 switches the functions of pins in port 1 and port 2. 
Bit Bit Name 
Initial 
Value R/W Description 
7  IRQ3  0  R/W  This bit selects the function of pin P17/IRQ3/TRGV. 
0: General I/O port 
1: IRQ3/TRGV input pin 
6  IRQ2  0  R/W  This bit selects the function of pin P16/IRQ2. 
0: General I/O port 
1: IRQ2 input pin 
5  IRQ1  0  R/W  This bit selects the function of pin P15/IRQ1/TMIB1. 
0: General I/O port 
1: IRQ1/TMIB1 input pin 
4  IRQ0  0  R/W  This bit selects the function of pin P14/IRQ0. 
0: General I/O port 
1: IRQ0 input pin 
3  TXD2  0  R/W  This bit selects the function of pin P72/TXD_2. 
0: General I/O port 
1: TXD_2 output pin 
2  PWM  0  R/W  This bit selects the function of pin P11/PWM. 
0: General I/O port 
1: PWM output pin 
1  TXD  0  R/W  This bit selects the function of pin P22/TXD. 
0: General I/O port 
1: TXD output pin 
0  TMOW  0  R/W  This bit selects the function of pin P10/TMOW. 
0: General I/O port 
1: TMOW output pin 










