Pwm Data Registers U And L (Pwdru, Pwdrl) - Renesas H8/3847R Series Hardware Manual

8-bit single-chip microcomputer super low power
Table of Contents

Advertisement

11.2.2

PWM Data Registers U and L (PWDRU, PWDRL)

PWDRU
Bit
7
Initial value
1
Read/Write
PWDRL
Bit
7
PWDRL7
Initial value
0
Read/Write
W
PWDRU and PWDRL form a 14-bit write-only register, with the upper 6 bits assigned to PWDRU
and the lower 8 bits to PWDRL. The value written to PWDRU and PWDRL gives the total high-
level width of one PWM waveform cycle.
When 14-bit data is written to PWDRU and PWDRL, the register contents are latched in the PWM
waveform generator, updating the PWM waveform generation data. The 14-bit data should
always be written in the following sequence:
1. Write the lower 8 bits to PWDRL.
2. Write the upper 6 bits to PWDRU.
PWDRU and PWDRL are write-only registers. If they are read, all bits are read as 1.
Upon reset, PWDRU and PWDRL are initialized to H'C000.
6
5
PWDRU5
PWDRU4
1
0
W
6
5
PWDRL6
PWDRL5
PWDRL4
0
0
W
W
4
3
2
PWDRU3
PWDRU2
0
0
0
W
W
W
4
3
2
PWDRL3
PWDRL2
0
0
0
W
W
W
Rev. 6.00 Aug 04, 2006 page 413 of 680
Section 11 14-Bit PWM
1
0
PWDRU1
PWDRU0
0
0
W
W
1
0
PWDRL1
PWDRL0
0
0
W
W
REJ09B0145-0600

Advertisement

Table of Contents
loading

Table of Contents