Mitsubishi Electric M32R Series User Manual page 403

Mitsubishi 32-bit risc single-chip microcomputers
Table of Contents

Advertisement

10
(a) When reload register updates take effect in the current period (reflected in the next period)
Reload 0 register
Reload 1 register
F/F output
(b) When reload register updates take effect in the next period (reflected one period later)
Reload 0 register
Reload 1 register
F/F output
Figure 10.4.13 Reload 0 and Reload 1 Register Updates in PWM Output Mode
Write to reload 1
H'1000
H'2000
Old PWM output period
Enlarged view
Count clock
H'0001
Counter
Interrupt
by underflow
Reload 0 register
Reload 1 register
Reload 1 buffer
F/F output
Timing at which reload 1
and reload 0 registers are updated
Note: This diagram does not show detail timing information.
Write to reload 1
H'1000
H'2000
Old PWM output period
Enlarged view
Count clock
Counter
H'000
1
Interrupt
by underflow
Reload 0 register
H'2000
Reload 1 register
Reload 1 buffer
F/F output
Note: This diagram does not show detail timing information.
10-133
MULTIJUNCTION TIMERS
10.4 TIO (Input/Output-related 16-bit Timer)
Write to reload 0
(reload 1 data latched)
H'8000
H'9000
Operation by new reload value written
New PWM output period
H'0000
H'FFFF
H'7FFF
H'8000
H'1000
H'2000
H'9000
H'2000
PWM period latched
Write to reload 0
(reload 1 data latched)
H'9000
Operation by old reload value
Old PWM output period
H'000
H'
H'0FFF
0
FFFF
H'1000
H'9000
H'2000
PWM period latched
Timing at which reload 1
and reload 0 registers are updated
New PWM
output period
H'7FFE
H'9000
H'8000
Old PWM
output period
H'0FFE
H'800
0
H'9000
Ver.0.10

Advertisement

Table of Contents
loading

Table of Contents