Datasheet

Section 8 I/O Ports
Rev. 6.00 Aug 04, 2006 page 215 of 680
REJ09B0145-0600
H8/38347 Group and H8/38447 Group
Bit
Initial value
Read/Write
7
EXCL
0
R/W
6
1
5
POF1
0
R/W
4
1
3
1
0
SCK1
0
R/W
2
SO1
0
R/W
1
SI1
0
R/W
PMR2 is an 8-bit read/write register that controls the selection of pin functions for pins P2
0
, P2
1
,
and P2
3
, the PMOS on/off state for the P2
2
/SO
1
pin, and external clock input to pin P31.
Upon reset, PMR2 is initialized to H'58.
H8/3847R Group and H8/3847S Group
Bit 7: Reserved bit
Bit 7 is reserved. It is always read as 1 and cannot be modified.
H8/38347 Group and H8/38447 Group
Bit 7: P31/UD/EXCL pin function switch (EXCL)
This bit selects whether pin P31/UD/EXCL is used as P31/UD or as EXCL. When the pin is used
as EXCL an external clock should be input to it. See section 4, Clock Pulse Generators, for a
connection example.
Bit 7
EXCL Description
0 Functions as P31/UD I/O pin (initial value)
1 Functions as EXCL input pin
Bits 6, 4, and 3: Reserved bits
Bits 6, 4, and 3 are reserved; they are always read as 1 and cannot be modified.
Bit 5: P2
2
/SO
1
pin PMOS control (POF1)
This bit controls the on/off state of the P2
2
/SO
1
pin output buffer PMOS.
Bit 5
POF1 Description
0 CMOS output (initial value)
1 NMOS open-drain output