Download Print this page

Pwmx (D/A) Counter (Dacnt) - Renesas H8S Family Hardware Manual

Advertisement

9.3.1

PWMX (D/A) Counter (DACNT)

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 two bits. DACNT cannot be accessed
in 8-bit units. DACNT should always be accessed in 16-bit units. For details, see section 9.4, Bus
Master Interface.
• DACNT
Bit
Bit Name
15 to 8 UC7 to UC0
7 to 2
UC8 to UC13 All 0
1
0
REGS
Initial
Value
R/W
Description
All 0
R/W
Lower Up-Counter
R/W
Upper Up-Counter
1
R
Reserved
This bit is always read as 1 and cannot be modified.
1
R/W
Register Select
DADRA and DACR, and DADRB and DACNT, are
located at the same addresses. The REGS bit specifies
which registers can be accessed. When changing the
register to be accessed, set this bit in advance.
0: DADRA and DADRB can be accessed
1: DACR and DACNT can be accessed
Section 9 14-Bit PWM Timer (PWMX)
Rev. 1.00 Mar. 12, 2008 Page 359 of 1178
REJ09B0403-0100

Advertisement

loading

This manual is also suitable for:

R4f2472R4f2462H8s/2462H8s/2400 seriesH8s/2472