Register Descriptions; Pwm Control Register (Pwcr) - Hitachi H8S/2199 Hardware Manual

Single-chip microcomputer
Table of Contents

Advertisement

20.2

Register Descriptions

20.2.1

PWM Control Register (PWCR)

Bit :
Initial value :
R/W :
The PWM control register (PWCR) is an 8-bit read/write register that controls the 14-bit PWM
functions. PWCR is initialized to H'FE by a reset.
Bits 7 to 1    Reserved: These bits cannot be modified and are always read as 1.
Bit 0    Clock Select (PWCR0): Selects the clock supplied to the 14-bit PWM.
Bit 0
PWCR0
Description
The input clock is φ/2 (tφ = 2/φ)
0
The conversion period is 16384/φ, with a minimum modulation width of 1/φ
The input clock is φ/4 (tφ = 4/φ)
1
The conversion period is 32768/φ, with a minimum modulation width of 2/φ
Note: t/φ: Period of PWM clock input
Rev. 1.0, 02/00, page 382 of 1141
7
6
1
1
5
4
1
1
3
2
1
1
1
0
PWCR0
1
0
R/W
(Initial value)

Advertisement

Table of Contents
loading

Table of Contents