9.4.5
Port Pull-Up Control Register 5 (PUCR5)
Bit
7
—
Initial value
0
Read/Write
—
PUCR5 controls whether the MOS pull-up of each port 5 pin is on or off. When a PCR5 bit is
cleared to 0, setting the corresponding PUCR5 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, PUCR5 is initialized to H'00.
9.4.6
Port Mode Register 5 (PMR5)
Bit
7
—
Initial value
0
Read/Write
—
PMR5 is an 8-bit read/write register, controlling the selection of pin functions for port 5 pins.
Upon reset, PMR5 is initialized to H'00.
Bit n—P5n/WKPn Pin Function Switch (WKPn): This bit selects whether pin P5n/WKPn is
used as P5n or as WKPn.
Bit n: WKPn
0
1
6
—
PUCR55 PUCR54 PUCR53 PUCR52 PUCR51 PUCR50
0
—
R/W
6
—
WKP5
0
—
R/W
Description
Functions as P5n I/O pin
Functions as WKPn input pin
5
4
0
0
R/W
R/W
5
4
WKP4
WKP3
0
0
R/W
R/W
3
2
0
0
R/W
R/W
3
2
WKP2
WKP1
0
0
R/W
R/W
1
0
0
0
R/W
1
0
WKP0
0
0
R/W
(Initial value)
(n = 5 to 0)
151