Rev. 6.00, 08/04, page 382 of 628
11.2.2
PWM Data Registers U and L (PWDRUm, PWDRLm)
Bit
Initial value
Read/Write
7
1
6
1
5
1
4
1
3
1
0
PWDRUm0
0
W
2
1
1
PWDRUm1
0
W
PWDRUm
Bit
Initial value
Read/Write
7
PWDRLm7
0
W
6
PWDRLm6
0
W
5
PWDRLm5
0
W
4
PWDRLm4
0
W
3
PWDRLm3
0
W
0
PWDRLm0
0
W
2
PWDRLm2
0
W
1
PWDRLm1
0
W
PWDRLm
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.
Summary of Contents for H8/38024 Series
Page 18: ...Rev 6 00 08 04 page xviii of xxx...
Page 30: ...Rev 6 00 08 04 page xxx of xxx...
Page 130: ...Rev 6 00 08 04 page 100 of 628...
Page 216: ...Rev 6 00 08 04 page 186 of 628...
Page 416: ...Rev 6 00 08 04 page 386 of 628...
Page 432: ...Rev 6 00 08 04 page 402 of 628...
Page 468: ...Rev 6 00 08 04 page 438 of 628...
Page 661: ...H8 38024 H8 38024S H8 38024F ZTAT H8 38124 Group Hardware Manual...