![Hitachi H8/3935 Hardware Manual Download Page 158](http://html.mh-extra.com/html/hitachi/h8-3935/h8-3935_hardware-manual_140486158.webp)
146
4. Port mode register 4 (PMR4)
Bit
Initial value
Read/Write
7
—
0
—
6
—
0
—
5
—
0
—
4
NMOD4
0
R/W
3
NMOD3
0
R/W
0
NMOD0
0
R/W
2
NMOD2
0
R/W
1
NMOD1
0
R/W
PMR4 is an 8-bit read/write register that controls whether individual port 2 pins are set as CMOS
or NMOS open-drain when 1 is set in PCR.
A 0 setting should be used for this function.
Upon reset, PMR4 is initialized to H'00.
Bit n: NMOS open-drain output select (NMODn)
These bits select NMOS open-drain when pin P2
n
is used as an output pin. These bits should be
cleared to 0.
Bit n
NMODn
Description
0
CMOS setting
(initial value)
1
NMOS open-drain setting
(n = 4 to 0)
Summary of Contents for H8/3935
Page 1: ......
Page 2: ......
Page 4: ......
Page 24: ...12 ...
Page 96: ...84 ...
Page 142: ...130 ...
Page 144: ...132 ...
Page 252: ...240 ...
Page 326: ...314 ...
Page 340: ...328 ...
Page 520: ...508 ...