Datasheet

Section 9 I/O Ports
Rev. 3.00 Sep. 14, 2006 Page 118 of 408
REJ09B0105-0300
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
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 All 0 Reserved
These bits are always read as 0.
4 IRQ0 0 R/W P14/IRQ0 Pin Function Switch
Selects whether pin P14/IRQ0 is used as P14 or as
IRQ0.
0: General I/O port
1: IRQ0 input pin
3, 2 All 0 Reserved
These bits are always read as 0.
1 TXD 0 R/W P22/TXD Pin Function Switch
Selects whether pin P22/TXD is used as P22 or as TXD.
0: General I/O port
1: TXD output pin
0 0 Reserved
This bit is always read as 0.