Hitachi H8S/2199 Hardware Manual page 219

Single-chip microcomputer
Table of Contents

Advertisement

Port Mode Register 3 (PMR3)
Bit :
PMR37
Initial value :
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.
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
13.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
7
6
PMR36
PMR35
0
0
R/W
R/W
5
4
PMR34
PMR33
0
0
R/W
R/W
3
2
PMR32
PMR31
0
0
R/W
R/W
Rev. 1.0, 02/00, page 205 of 1141
1
0
PMR30
0
0
R/W
(Initial value)
(Initial value)

Advertisement

Table of Contents
loading

Table of Contents