Pin Functions; Pin States - Renesas H8 Series Hardware Manual

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

Advertisement

8.3.3

Pin Functions

Table 8.6 shows the port 2 pin functions.
Table 8.6
Port 2 Pin Functions
Pin
Pin Functions and Selection Method
P2
/TXD
The pin function depends on bit TXD in PMR7 and bit PCR2
2
TXD
PCR2
Pin function
P2
/RXD
The pin function depends on bit RE in SCR3 and bit PCR2
1
RE
PCR2
Pin function
P2
/SCK
The pin function depends on bits CKE1 and CKE0 in SCR3, bit COM in SMR,
0
3
and bit PCR2
CKE1
CKE0
COM
PCR2
Pin function
Legend: * Don't care
8.3.4

Pin States

Table 8.7 shows the port 2 pin states in each operating mode.
Table 8.7
Port 2 Pin States
Pins
Reset
P2
/TXD
High-
2
impedance
P2
/RXD
1
P2
/SCK
0
3
0
2
P2
input pin P2
2
0
1
P2
input pin P2
1
in PCR2.
0
0
0
P2
input pin P2
0
Sleep
Subsleep
Retains
Retains
previous
previous
state
state
0
1
output pin
2
0
1
output pin
1
0
0
0
1
1
output pin SCK
0
Standby
Watch
High-
Retains
impedance
previous
state
Rev. 6.00 Sep 12, 2006 page 179 of 526
Section 8 I/O Ports
in PCR2.
2
1
*
TXD output pin
in PCR2.
1
1
*
RXD input pin
1
1
*
*
*
*
*
output
SCK
input pin
3
3
pin
Subactive Active
Functional Functional
REJ09B0326-0600

Advertisement

Table of Contents
loading

Table of Contents