Renesas Hitachi H8S/2194 Series Hardware Manual page 289

16-bit single-chip microcomputer
Table of Contents

Advertisement

(1) Port Mode Register 4 (PMR4)
Bit :
7
Initial value :
1
R/W :
Port mode register 4 (PMR4) controls switching of the P40/PWM14 pin function. The
switchings of the P46/FTOB and P45/FTOA functions are controlled by TOCR. See section 17,
Timer X1. The FTIA, FTIB, FTIC, and FTID inputs always function.
PMR4 is an 8-bit read/write enable register. When reset, PMR4 is initialized to H'FE.
Because the FTIA, FTIB, FTIC, and FTID inputs always function, the alternative pin 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 (excluding reset, standby,
and watch modes).
Because the FTIA, FTIB, FTIC, and FTID inputs always function, each input uses the input edge
to the alternative general I/O pins P44, P43, P42, and P41 as input signals.
Bits 7 to 1: Reserved Bits
When the bits are read, 1 is always read. The write operation is invalid.
Bit 0: P40/PWM14 Pin Switching (PMR40)
PMR40 sets whether the P40/PWM pin is used as a P40 I/O pin or a PWM14 pin for the 14-bit
PWM square wave output.
Bit 0
PMR40
Description
0
The P40/PWM14 pin functions as a P40 I/O pin
1
The P40/PWM14 pin functions as a PWM14 output pin
Rev. 2.0, 11/00, page 262 of 1037
6
5
4
1
1
1
3
2
1
1
1
1
0
PMR40
0
R/W
(Initial value)

Advertisement

Table of Contents
loading

Table of Contents