p2125vps20 Renesas Electronics Corporation., p2125vps20 Datasheet - Page 237

no-image

p2125vps20

Manufacturer Part Number
p2125vps20
Description
16-bit Single-chip Microcomputer H8s Family / H8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
10.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 PWMX (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 2-bit counter. As DACNT is 16 bits,
data transfer between the CPU is performed through the temporary register (TEMP). For details,
see section 10.4, Bus Master Interface.
• DACNTH
• DACNTL
Bit (CPU):
Bit (counter):
Bit
7 to 0
Bit
7 to 2
1
0
Bit Name
DACNT7 to
DACNT0
Bit Name
DACNT 8 to
DACNT 13
REGS
PWMX (D/A) Counter (DACNT)
15
7
14
6
Initial
Value
All 0
Initial
Value
All 0
1
1
13
5
12
4
DACNTH
R/W
R/W
R/W
R/W
R
R/W
11
3
10
2
Description
Upper Up-Counter
Description
Lower Up-Counter
Reserved
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
7
8
Rev. 1.00 Sep. 21, 2006 Page 199 of 658
6
9
Section 10 14-Bit PWM Timer (PWMX)
10
5
11
4
DACNTL
12
3
REJ09B0310-0100
13
2
1
REGS
0

Related parts for p2125vps20