Pin Functions - Renesas H8S Series Hardware Manual

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

Advertisement

Bits 7 and 6 are reserved; they return an undetermined value if read, and cannot be modified.
Setting a P3ODR bit to 1 makes the corresponding port 3 pin an NMOS open-drain output pin, while clearing the bit to 0
makes the pin a CMOS output pin.
P3ODR is initialized to H'00 (bits 5 to 0) by a power-on reset, and in hardware standby mode. It retains its prior state after
a manual reset*, and in software standby mode.
Note: * Manual reset is only supported in the H8S/2357 ZTAT.
9.4.3

Pin Functions

Port 3 pins also function as SCI I/O pins (TxD0, RxD0, SCK0, TxD1, RxD1, and SCK1). Port 3 pin functions are shown
in table 9-7.
Table 9-7
Port 3 Pin Functions
Pin
P3
/SCK1
5
P3
/SCK0
4
Selection Method and Pin Functions
The pin function is switched as shown below according to the combination of
bit C/A in the SCI1 SMR, bits CKE0 and CKE1 in SCR, and bit P35DDR.
CKE1
C/A
CKE0
P35DDR
0
Pin function
P3
5
input pin
Note: * When P35ODR = 1, the pin becomes an NMOS open-drain output.
The pin function is switched as shown below according to the combination of
bit C/A in the SCI0 SMR, bits CKE0 and CKE1 in SCR, and bit P34DDR.
CKE1
C/A
CKE0
P34DDR
0
Pin function
P3
4
input pin
Note: * When P34ODR = 1, the pin becomes an NMOS open-drain output.
0
0
0
1
1
P3
SCK1
5
output pin*
output pin*
0
0
0
1
1
P3
SCK0
4
output pin*
output pin*
Rev.6.00 Oct.28.2004 page 291 of 1016
1
1
SCK1
SCK1
output pin*
input pin
1
1
SCK0
SCK0
output pin*
input pin
REJ09B0138-0600H

Advertisement

Table of Contents
loading

Table of Contents