Port Mode Register 3 (Pmr3) - Hitachi H8S/2199 Hardware Manual

Single-chip microcomputer
Table of Contents

Advertisement

18.2.3

Port Mode Register 3 (PMR3)

Bit :
PMR37
Initial value :
R/W
R/W :
The port mode register 3 (PMR3) controls function switching of each pin in the port 3. Switching
is specified for each bit.
The PMR3 is a 8-bit readable/writable register and is initialized to H'00 by a reset.
For bits other than 5 to 2, see section 10.5, Port 3.
Bits 5 to 2    P35/PWM3 to P32/PWM0 Pin Switching (PMR35 to PMR32): These bits set
whether the P3n/PWMn pin is used as I/O pin or it is used as 8-bit PWM output PWMm pin.
Bit n
PMR3n
Description
0
P3n/PMWm pin functions as P3n I/O pin
1
P3n/PMWm pin functions as PWMm 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
(n = 5 to 2, m = 3 to 0)
Rev. 1.0, 02/00, page 365 of 1141
1
0
PMR30
0
0
R/W
(Initial value)

Advertisement

Table of Contents
loading

Table of Contents