CHAPTER 9 TIMER/COUNTER FUNCTION
391
User’s Manual U15195EJ5V0UD
Figure 9-99. PWM Output Operation Timing Example
0000H 0001H
p
p
p
p
p
p
q
q
q
q
q
q
p
q
0000H
FFFFH
0001H
Count start
Clear
Count clock
TM3 register
CC30
register
CC31
register
INTCC30
interrupt
INTCC31
interrupt
TO3
(output)
t
Remarks 1.
p: Setting value of CC30 register (0000H to FFFFH)
q: Setting value of CC31 register (0000H to FFFFH)
p
≠
q
t: Count clock cycle
PWM cycle = 65536
×
t
q
−
p
65536
2.
In this example, the active level of TO3 output is set to high level.
Duty =
Содержание PD703114
Страница 2: ...2 User s Manual U15195EJ5V0UD MEMO ...