Pin Functions - Renesas H8S Series Hardware Manual

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

Advertisement

9.6.3

Pin Functions

Port 5 pins also function as SCI I/O pins (TxD2, RxD2, and SCK2), and the A/D converter input pin (ADTRG). Port 5 pin
functions are shown in table 9-10.
Table 9-10 Port 5 Pin Functions
Pin
P5
/ADTRG
3
P5
/SCK2
2
P5
/RxD2
1
P5
/TxD2
0
Rev.6.00 Oct.28.2004 page 296 of 1016
REJ09B0138-0600H
Selection Method and Pin Functions
The pin function is switched as shown below according to the combination of
bits TRGS1 and TRGS0 in the A/D converter ADCR, and bit P53DDR.
P53DDR
Pin function
Note: * ADTRG input when TRGS0 = TRGS1 = 1.
The pin function is switched as shown below according to the combination of
bit C/A in the SCI2 SMR, bits CKE0 and CKE1 in SCR, and bit P52DDR.
CKE1
C/A
CKE0
P52DDR
0
Pin function
P5
2
input pin
The pin function is switched as shown below according to the combination of
bit RE in the SCI2 SCR, and bit P51DDR.
RE
P51DDR
Pin function
P5
1
The pin function is switched as shown below according to the combination of
bit TE in the SCI2 SCR, and bit P50DDR.
TE
P50DDR
Pin function
P5
0
0
P5
input pin
3
ADTRG input pin*
0
0
0
1
1
P5
SCK2
2
output pin
output pin
0
0
1
input pin
P5
output pin
1
0
0
1
input pin
P5
output pin
0
1
P5
output pin
3
1
1
SCK2
SCK2
output pin
input pin
1
RxD2 input pin
1
TxD2 output pin

Advertisement

Table of Contents
loading

Table of Contents