132
Port Mode Register 6 (PMR6)
Bit
7
6
5
4
3
2
1
0
—
—
—
—
—
TXD
—
—
Initial value
1
1
1
1
1
0
0
0
Read/Write
—
—
—
R/W
—
R/W
R/W
R/W
Bits 7, 6, 5, and 3: Reserved Bits: Bits 7, 6, 5, and 3 are reserved bits. They are always read
as 1 and cannot be modified.
Bit 4—Reserved Bit: Bit 4 is reserved: it should be used set to 1.
Bit 2—P2
6
/TXD Pin Function Switch (TXD): This bits selects whether the P2
6
/TXD pin is
used as P2
6
or as TXD.
Bit 2: TXD
Description
0
Functions as P2
6
I/O pin
(initial value)
1
Functions as TXD output pin
Bits 1 and 0—Reserved Bits: Bits 1 and 0 are reserved: they should be used cleared to 0.
Port Pull-Up Control Register 2 (PUCR2)
Bit
7
6
5
4
3
2
1
0
PUCR2
7
PUCR2
6
PUCR2
5
PUCR2
4
PUCR2
3
PUCR2
2
PUCR2
1
PUCR2
0
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
PUCR2 controls whether the MOS pull-up of each port 2 pin is on or off. When a PCR2 bit is
cleared to 0, setting the corresponding PUCR2 bit to 1 turns on the MOS pull-up for the
corresponding pin, while clearing the bit to 0 turns off the MOS pull-up.
Upon reset, PUCR2 is initialized to H'00.
Note:
As P2
7
is an input-only pin, the MOS pull-up is turned off regardless of whether PUCR2
7
is set to 1 or cleared to 0.