Pwm Data Registers U And L (Pwdrum, Pwdrlm) - Renesas H8 Series Hardware Manual

8-bit single-chip microcomputer
Hide thumbs Also See for H8 Series:
Table of Contents

Advertisement

Section 11 10-Bit PWM
11.2.2

PWM Data Registers U and L (PWDRUm, PWDRLm)

PWDRUm
Bit
7
Initial value
1
Read/Write
PWDRLm
Bit
7
PWDRLm7
Initial value
0
Read/Write
W
PWDRUm and PWDRLm form a 10-bit write-only register, with the upper 2 bits assigned to
PWDRUm and the lower 8 bits to PWDRLm. The value written to PWDRUm and PWDRLm
gives the total high-level width of one PWM waveform cycle.
When 10-bit data is written to PWDRUm and PWDRLm, the register contents are latched in the
PWM waveform generator, updating the PWM waveform generation data. The 10-bit data should
always be written in the following sequence:
1. Write the lower 8 bits to PWDRLm.
2. Write the upper 2 bits to PWDRUm for the same channel.
PWDRUm and PWDRLm are write-only registers. If they are read, all bits are read as 1.
Upon reset, PWDRUm is initialized to H'FC, and PWDRLm to H'00.
Rev. 7.00 Mar 10, 2005 page 394 of 652
REJ09B0042-0700
6
5
1
1
6
5
PWDRLm6
PWDRLm5
PWDRLm4
0
0
W
W
4
3
2
1
1
1
4
3
2
PWDRLm3
PWDRLm2
0
0
0
W
W
W
1
0
PWDRUm1
PWDRUm0
0
0
W
W
1
0
PWDRLm1
PWDRLm0
0
0
W
W

Advertisement

Table of Contents
loading

Table of Contents