Datasheet

Section 9 I/O Ports
Rev.4.00 Nov. 02, 2005 Page 96 of 304
REJ09B0143-0400
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
5
0
0
Reserved
These bits are always read as 0.
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 1 Reserved
This bit is always read as 1.
2 0 R/W Reserved
This bit must always be cleared to 0 (setting to 1 is
disabled).
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 0 Reserved
These bits are always read as 0.