Renesas H8 Series Hardware Manual page 257

8-bit single-chip microcomputer
Hide thumbs Also See for H8 Series:
Table of Contents

Advertisement

Port Pull-Up Control Register 5 (PUCR5)
Bit
7
PUCR5
Initial value
0
Read/Write
R/W
PUCR5 controls whether the MOS pull-up of each of port 5 pins P5
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.
Port Mode Register 5 (PMR5)
Bit
7
WKP
Initial value
0
Read/Write
R/W
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—P5
/
/SEG
n
n
W K P
When pin P5n/
n /SEGn+1 is not used as SEG
W K P
P5n or
.
n
W K P
Bit n
WKPn
Description
0
Functions as P5n I/O pin
1
Functions as
Note: For use as SEG
6
5
PUCR5
PUCR5
7
6
0
0
R/W
R/W
6
5
WKP
WKP
7
6
5
0
0
R/W
R/W
Pin Function Switch (WKPn)
n+1
input pin
n
W K P
, see section 13.2.1, LCD Port Control Register (LPCR).
n+1
4
3
PUCR5
PUCR5
5
4
3
0
0
R/W
R/W
4
3
WKP
WKP
4
3
0
0
R/W
R/W
, these bits select whether the pin is used as
n+1
Rev. 7.00 Mar 10, 2005 page 215 of 652
Section 8 I/O Ports
2
1
PUCR5
PUCR5
PUCR5
2
1
0
0
R/W
R/W
to P5
is on or off. When a
7
0
2
1
WKP
WKP
2
1
0
0
R/W
R/W
(initial value)
(n = 7 to 0)
REJ09B0042-0700
0
0
0
R/W
0
WKP
0
0
R/W

Advertisement

Table of Contents
loading

Table of Contents