Port Control Register 5 (Pcr5) - Renesas H8 Series Hardware Manual

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

Advertisement

Bit
Bit Name
1
WKP1
0
WKP0
9.3.2

Port Control Register 5 (PCR5)

PCR5 selects inputs/outputs in bit units for pins to be used as general I/O ports of port 5.
Bit
Bit Name
7
PCR57
6
PCR56
5
PCR55
4
PCR54
3
PCR53
2
PCR52
1
PCR51
0
PCR50
Initial
Value
R/W
Description
0
R/W
P51/WKP1 Pin Function Switch
Selects whether pin P51/WKP1 is used as P51 or as
WKP1.
0: General I/O port
1: WKP1 input pin
0
R/W
P50/WKP0 Pin Function Switch
Selects whether pin P50/WKP0 is used as P50 or as
WKP0.
0: General I/O port
1: WKP0 input pin
Initial
Value
R/W
Description
0
W
When each of the port 5 pins P57 to P50 functions as an
general I/O port, setting a PCR5 bit to 1 makes the
0
W
corresponding pin an output port, while clearing the bit to
0
W
0 makes the pin an input port.
0
W
0
W
0
W
0
W
0
W
Section 9 I/O Ports
Rev. 1.00 Aug. 28, 2006 Page 127 of 400
REJ09B0268-0100

Advertisement

Table of Contents
loading

Table of Contents