Datasheet
Rev.6.00 Oct.28.2004 page 291 of 1016
REJ09B0138-0600H
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 Selection Method and Pin Functions
P3
5
/SCK1 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 0 1
C/A 01—
CKE0 0 1 — —
P35DDR 0 1 — — —
Pin function P3
5
input pin
P3
5
output pin*
SCK1
output pin*
SCK1
output pin*
SCK1
input pin
Note: * When P35ODR = 1, the pin becomes an NMOS open-drain output.
P3
4
/SCK0 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 0 1
C/A 01—
CKE0 0 1 — —
P34DDR 0 1 — — —
Pin function P3
4
input pin
P3
4
output pin*
SCK0
output pin*
SCK0
output pin*
SCK0
input pin
Note: * When P34ODR = 1, the pin becomes an NMOS open-drain output.