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

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
11.3.1
DACNT is a 14-bit readable/writable up-counter. The input clock is selected by the clock select bit
(CKS) in DACR. DACNT functions as the time base for both PWM (D/A) channels. When a
channel operates with 14-bit precision, it uses all DACNT bits. When a channel operates with 12-
bit precision, it uses the lower 12 bits and ignores the upper two bits. DACNT cannot be accessed
in 8-bit units. DACNT should always be accessed in 16-bit units. For details, see section 11.4, Bus
Master Interface.
Bit (CPU)
Bit (counter)
DACNTH
DACNTL
Bit
7
to
0
Bit
7
to
2
1
0
Bit Name
UC7
to
UC0
Bit Name
UC8
to
UC13
REGS
PWM D/A Counter H, L (DACNTH, DACNTL)
:
:
15
7
Initial Value
All 0
Initial Value
All 0
1
1
14
6
13
5
DACNTH
12
4
R/W
R/W
R/W
R/W
R
R/W
11
3
10
2
Description
Upper Up-Counter
Description
Lower Up-Counter
Reserved
This bit is always read as 1 and cannot be modified.
Register Select
DADRA and DACR, and DADRB and DACNT, are
located at the same addresses. The REGS bit specifies
which registers can be accessed.
0: DADRA and DADRB can be accessed
1: DACR and DACNT can be accessed
9
1
8
0
Rev. 3.00 Jan 25, 2006 page 275 of 872
7
8
Section 11 14-Bit PWM Timer (PWMX)
6
9
10
5
DACNTL
11
4
12
3
REJ09B0286-0300
13
2
1
REGS
0

Related parts for h8s-2158