Hitachi H8S/2199 Hardware Manual page 253

Single-chip microcomputer
Table of Contents

Advertisement

Port Mode Register 8 (PMR8)
Bit :
7
PMR87
Initial value :
0
R/W :
R/W
Port mode register 8 (PMR8) controls switching of each pin function of port 8. The switching is
specified in a unit of bit.
PMR8 is an 8-bit read/write enable register. When reset, PMR8 is initialized to H'F0.
If the EXCTL, COMP, DPG and EXTTRG input pins are set, the pin level need always be set to
the high or low level regardless of the active mode and low power consumption mode. Note that
the pin level must not reach an intermediate level.
Bit 7    P87/DPG Pin Switching (PMR87): PMR87 sets whether the P87/DPG pin is used as a
P87 I/O pin or a DPG signal input pin.
Bit 7
PMR87
Description
0
P87/DPG pin functions as a P87 I/O pin
(Drum control signals are input as an overlapped signal)
1
P87/DPG pin functions as a DPG input pin
(Drum control signals are input as separate signals)
Bit 6    P86/EXTTRG Pin Switching (PMR86): PMR86 sets whether the P86/EXTTRG pin is
used as a P86 I/O pin or an external trigger signal input pin.
Bit 6
PMR86
Description
0
P86/EXTTRG pin functions as a P86 I/O pin
1
P86/EXTTRG pin functions as a EXTTRG input pin
Bit 5    P85/COMP Pin Switching (PMR85): PMR85 sets whether the P85/COMP pin is used as
a P85 I/O pin or a COMP input pin of the preamplifier output result signal.
Bit 5
PMR85
Description
0
P85/COMP pin functions as a P85 I/O pin
1
P85/COMP pin functions as a COMP input pin
6
5
PMR86
PMR85
0
0
R/W
R/W
4
3
PMR84
PMR83
0
0
R/W
R/W
Rev. 1.0, 02/00, page 239 of 1141
2
1
PMR82
PMR81
0
0
R/W
R/W
(Initial value)
(Initial value)
(Initial value)
0
PMR80
0
R/W

Advertisement

Table of Contents
loading

Table of Contents