h8s-2158 Renesas Electronics Corporation., h8s-2158 Datasheet - Page 329

no-image

h8s-2158

Manufacturer Part Number
h8s-2158
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
DADRB
11.3.3
DACR selects test mode, enables the PWM outputs, and selects the output phase and operating
speed.
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Bit Name
DA13
DA12
DA11
DA10
DA9
DA8
DA7
DA6
DA5
DA4
DA3
DA2
DA1
DA0
CFS
REGS
PWM (D/A) Control Register (DACR)
Initial Value
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Description
D/A Data 13 to 0
These bits set a digital value to be converted to an
analog value.
In each base cycle, the DACNT value is continually
compared with the DADR value to determine the duty
cycle of the output waveform, and to decide whether to
output a fine-adjustment pulse equal in width to the
resolution. To enable this operation, this register must
be set within a range that depends on the CFS bit. If the
DADR value is outside this range, the PWM output is
held constant.
A channel can be operated with 12-bit precision by
keeping both the DA0 and DA1 bits cleared to 0. This 2-
bit data is not compared with the UC12 and UC13 bits
in DACNT.
Carrier Frequency Select
0: Base cycle = Resolution (T)
1: Base cycle = Resolution (T)
Register Select
DADRA and DACR, and DADRB and DACNT, are
located at the same addresses. This bit specifies which
registers can be accessed. Make this bit setting before
changing the address register.
0: DADRA and DADRB can be accessed
1: DACR and DACNT can be accessed
Range of values in DA13 to DA0 = H'0100 to H'3FFF
Range of values in DA13 to DA0 = H'0040 to H'3FFF
Rev. 3.00 Jan 25, 2006 page 277 of 872
Section 11 14-Bit PWM Timer (PWMX)
64
256
REJ09B0286-0300

Related parts for h8s-2158