12-Bit Pwm Data Registers (Cpwdr, Dpwdr) - Renesas Hitachi H8S/2194 Series Hardware Manual

16-bit single-chip microcomputer
Table of Contents

Advertisement

20.2.2

12-Bit PWM Data Registers (CPWDR, DPWDR)

(1) CPWDR
Bit :
15
14
Initial value :
1
1
R/W :
(2) DPWDR
Bit :
15
14
Initial value :
1
1
R/W :
The 12-bit PWM data registers (CPWDR and DPWDR) are 12-bit readable/writable registers
in which the data to be converted to PWM output is written.
The data in these registers is converted to PWM output only when bit SF/DF of the
corresponding control register is set to 1. The error data from the digital filter circuit is
written in the data register, and then modulated by PWM. At this time, the error data from
the digital filter circuit can be monitored by reading the data register.
These registers can be accessed by word only, and cannot be accessed by byte. Byte access
gives unassured results.
CPWDR and DPWDR are initialized to H'F000 by a reset, or in sleep mode, standby mode,
watch mode, subactive mode, subsleep mode, or module stop mode of the servo circuit.
13
12
11
10
CPWDR11
CPWDR10
CPWDR9
1
1
0
0
R/W
R/W
13
12
11
10
DPWDR11
DPWDR10
DPWDR9
1
1
0
0
R/W
R/W
9
8
7
6
CPWDR8
CPWDR7
CPWDR6
0
0
0
0
R/W
R/W
R/W
R/W
9
8
7
6
DPWDR8
DPWDR7
DPWDR6
DPWDR5
0
0
0
0
R/W
R/W
R/W
R/W
Rev. 2.0, 11/00, page 419 of 1037
5
4
3
2
CPWDR5
CPWDR4
CPWDR3
CPWDR2
0
0
0
0
R/W
R/W
R/W
R/W
5
4
3
2
DPWDR4
DPWDR3
DPWDR2
0
0
0
0
R/W
R/W
R/W
R/W
1
0
CPWDR1
CPWDR0
0
0
R/W
R/W
1
0
DPWDR1
DPWDR0
0
0
R/W
R/W

Advertisement

Table of Contents
loading

Table of Contents