CHAPTER 7 TIMER/COUNTER FUNCTION
Preliminary User’s Manual U15905EJ1V0UD
236
Figure 7-12. PWM Output Timing Example
0000H 0001H
p
p
p
p
p
p
q
q
q
q
q
q
p
q
0000H
FFFFH
0001H
Count
clock
TMn
register
CCn0
register
CCn1
register
INTCCn0
interrupt
INTCCn1
interrupt
TOn
(output)
Count start
Clear
t
Remarks 1.
p: Setting value of CCn0 register (0000H to FFFFH)
q: Setting value of CCn1 register (0000H to FFFFH)
p
≠
q
t: Count clock cycle
PWM cycle = 65,536
×
t
65,536
p
q
Duty
−
=
2.
In this example, the active level of the TOn output is set to the high level.
3.
n = 0, 1
Summary of Contents for V850ES/SA2 UPD703201
Page 2: ...Preliminary User s Manual U15905EJ1V0UD 2 MEMO ...
Page 285: ... 6 7 ...
Page 516: ...Preliminary User s Manual U15905EJ1V0UD 516 MEMO ...