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

8-bit single-chip microcomputer h8 family/h8/300l super low power series
Hide thumbs Also See for H8/38024:
Table of Contents

Advertisement

11.2.2

PWM Data Registers U and L (PWDRUm, PWDRLm)

PWDRUm
Bit
Initial value
Read/Write
PWDRLm
Bit
PWDRLm7
Initial value
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. 6.00, 08/04, page 382 of 628
7
6
5
1
1
1
7
6
5
PWDRLm6
PWDRLm5
0
0
0
W
W
4
3
1
1
4
3
PWDRLm4
PWDRLm3
PWDRLm2
0
0
W
W
2
1
0
PWDRUm1
PWDRUm0
1
0
0
W
W
2
1
0
PWDRLm1
PWDRLm0
0
0
0
W
W
W

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8/38024f-ztatH8/38124H8/38024s

Table of Contents