Pin Functions; Table 8.15 Port 5 Pin Functions - Renesas H8/3847R Series Hardware Manual

8-bit single-chip microcomputer super low power
Table of Contents

Advertisement

Section 8 I/O Ports
Upon reset, PUCR5 is initialized to H'00.
4. 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
/WKP
/SEG
n
n
When pin P5
/WKP
/SEG
n
n
or WKP
.
n
Bit n
WKPn
Description
0
Functions as P5
Functions as WKP
1
Note: For use as SEG
8.6.3

Pin Functions

Table 8.15 shows the port 5 pin functions.

Table 8.15 Port 5 Pin Functions

Pin
Pin Functions and Selection Method
P5
/WKP
/
The pin function depends on bit WKP
7
7
SEG
to
SEG8 to SGS3 to SGS0 in LPCR.
8
P5
/WKP
/
SGS3 to SGS0
0
0
SEG
1
Pin function
Rev. 6.00 Aug 04, 2006 page 232 of 680
REJ09B0145-0600
6
5
WKP
WKP
7
6
5
0
0
R/W
R/W
pin function switch (WKP
n+1
is not used as SEG
n+1
I/O pin
n
input pin
n
, see section 13.2.1, LCD Port Control Register (LPCR).
n+1
WKP
n
PCR5
0
n
P5
input pin
n
4
3
WKP
WKP
WKP
4
3
0
0
R/W
R/W
R/W
)
n
, these bits select whether the pin is used as P5
n+1
in PMR5, bit PCR5
n
0***
0
1
P5
output pin
n
2
1
0
WKP
WKP
2
1
0
0
0
R/W
R/W
(initial value)
(n = 7 to 0)
in PCR5, and bits
n
1***
1
*
*
*
WKP
SEG
n
input pin
output pin
*: Don't care
0
n
n+1

Advertisement

Table of Contents
loading

Table of Contents