CHAPTER 7 TIMER/COUNTER FUNCTION
User’s Manual U13850EJ4V0UM
225
(a)
Basic operation of PWM output
Figure 7-44. Timing of PWM Output
Basic operation (active level = H)
Count clock
00H
TMn
CRn0
TCEn
INTTMn
TOn
Active level
Inactive level
Active level
01H
FFH
00H
01H
02H
N
N + 1
FFH
00H
01H
02H
M
00H
N
When CRn0 = 0
Count clock
TMn
CRn0
TCEn
INTTMn
TOn
Inactive level
Inactive level
00H 01H
FFH
00H
01H
02H
N
N + 1 N + 2
FFH
00H
01H
02H
M
00H
00H
When CRn0 = FFH
Count clock
TMn
CRn0
TCEn
INTTMn
TOn
Inactive level
Inactive level
Active level
Active level
Inactive level
00H 01H
FFH
00H
01H
02H
N
N + 1 N + 2
FFH
00H
01H
02H
M
00H
FFH
Remark
n = 2 to 5