Renesas Hitachi H8S/2194 Series Hardware Manual page 282

16-bit single-chip microcomputer
Table of Contents

Advertisement

(1) Port Mode Register 3 (PMR3)
7
Bit :
PMR37
Initial value :
0
R/W :
R/W
Port mode register 3 (PMR3) controls switching of each pin function of port 3. The switching is
specified in a unit of bit.
PMR3 is an 8-bit read/write enable register. When reset, PMR3 is initialized to H'00.
$
If the
input pin is set, the pin level need 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: P37/TMO Pin Switching (PMR37)
PMR37 sets whether the P37/TMO pin is used as a P37 I/O pin or a TMO pin for the timer J
output timer.
Bit 7
PMR37
Description
0
The P37/TMO pin functions as a P37 I/O pin
1
The P37/TMO pin functions as a TMO output pin
Note: If the TMO pin is used for remote control sending, a careless timer output pulse may be
output when the remote control mode is set after the output has been switched to the
TMO output. Perform the switching and setting in the following order.
[1] Set the remote control mode.
[2] Set the TMJ-1 and 2 counter data of the timer J.
[3] Switch the P37/TMO pin to the TMO output pin.
[4] Set the ST bit to 1.
Bit 6:
P36/BUZZ Pin Switching (PMR36)
PMR36 sets whether the P36/BUZZ pin as a P36 I/O pin or an BUZZ pin for the timer J buzzer
output. For the selection of the BUZZ output, see the 14.2.2, Timer J Control Register (TMJC).
Bit 6
PMR36
Description
0
The P36/BUZZ pin functions as a P36 I/O pin
1
The P36/BUZZ pin functions as a BUZZ output pin
6
5
PMR36
PMR35
PMR34
0
0
R/W
R/W
4
3
PMR33
PMR32
0
0
R/W
R/W
R/W
Rev. 2.0, 11/00, page 255 of 1037
2
1
0
PMR31
PMR30
0
0
0
R/W
R/W
(Initial value)
(Initial value)

Advertisement

Table of Contents
loading

Table of Contents