Datasheet
Section 9 I/O Ports
Rev.5.00 Nov. 02, 2005 Page 110 of 418
REJ09B0028-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 P17/IRQ3/TRGV Pin Function Switch
This bit selects whether pin P17/IRQ3/TRGV is used as
P17 or as IRQ3/TRGV.
0: General I/O port
1: IRQ3/TRGV input pin
6 IRQ2 0 R/W P16/IRQ2 Pin Function Switch
This bit selects whether pin P16/IRQ2 is used as P16 or
as IRQ2.
0: General I/O port
1: IRQ2 input pin
5 IRQ1 0 R/W P15/IRQ1 Pin Function Switch
This bit selects whether pin P15/IRQ1 is used as P15 or
as IRQ1.
0: General I/O port
1: IRQ1 input pin
4 IRQ0 0 R/W P14/IRQ0 Pin Function Switch
This bit selects whether pin P14/IRQ0 is used as P14 or
as IRQ0.
0: General I/O port
1: IRQ0 input pin
3, 2 All 1 Reserved
These bits are always read as 1.
1 TXD 0 R/W P22/TXD Pin Function Switch
This bit selects whether pin P22/TXD is used as P22 or
as TXD.
0: General I/O port
1: TXD output pin
0 TMOW 0 R/W P10/TMOW Pin Function Switch
This bit selects whether pin P10/TMOW is used as P10 or
as TMOW.
0: General I/O port
1: TMOW output pin










