Rev. 1.00, 09/03, page 228 of 704
9.3.2
PWMX (D/A) Data Registers A and B (DADRA and DADRB)
DADRA corresponds to PWMX (D/A) channel A, and DADRB to PWMX (D/A) channel B.
DADR cannot be accessed in 8-bit units. DADR should always be accessed in 16-bit units. For
details, see section 9.4, Bus Master Interface.
•
DADRA
Bit Bit Name
Initial Value
R/W
Description
15
14
13
12
11
10
9
8
7
6
5
4
3
2
DA13
DA12
DA11
DA10
DA9
DA8
DA7
DA6
DA5
DA4
DA3
DA2
DA1
DA0
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
D/A Data 13 to 0
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
fixed.
A channel can be operated with 12-bit accuracy by
fixing DA0 and DA1 to 0. The lower two data bits are
not compared with UC12 and UC13 in DACNT.
1
CFS
1
R/W
Carrier Frequency Select
0: Base cycle = resolution (T)
×
64
The range of DA13 to DA0: H'0100 to H'3FFF
1: Base cycle = resolution (T)
×
256
The range of DA13 to DA0: H'0040 to H'3FFF
0
1
R/W
Reserved
This bit is always read as 1 and cannot be modified.
Содержание H8S/2437
Страница 2: ...Rev 1 00 09 03 page ii of xxxviii ...
Страница 8: ...Rev 1 00 09 03 page viii of xxxviii ...
Страница 32: ...Rev 1 00 09 03 page xxxii of xxxviii ...
Страница 38: ...Rev 1 00 09 03 page xxxviii of xxxviii ...
Страница 168: ...Rev 1 00 09 03 page 130 of 704 ...
Страница 336: ...Rev 1 00 09 03 page 298 of 704 ...
Страница 402: ...Rev 1 00 09 03 page 364 of 704 ...
Страница 454: ...Rev 1 00 09 03 page 416 of 704 ...
Страница 512: ...Rev 1 00 09 03 page 474 of 704 ...
Страница 562: ...Rev 1 00 09 03 page 524 of 704 ...
Страница 648: ...Rev 1 00 09 03 page 610 of 704 ...
Страница 672: ...Rev 1 00 09 03 page 634 of 704 ...
Страница 732: ...Rev 1 00 09 03 page 694 of 704 ...
Страница 742: ...Rev 1 00 09 03 page 704 of 704 ...
Страница 745: ......
Страница 746: ...H8S 2437 Group Hardware Manual REJ09B0059 0100Z ...