Figure 7.7-2 Output Example of the PWM Waveform of 8-bit PWM Timer Functions
When the COMR Register Value is 00
Counter value
PWM waveform
When the COMR register value is 80
Counter value
PWM waveform
When the COMR register value is FF
Counter value
PWM waveform
Notes:
• While PWM timer functions are enabled (CNTR: TPE = 1), do not change the count clock cycle
(CNTR: P1, P0).
• While PWM timer functions are enabled, the level immediately before the stop is held as the output
level of the PWM pin in the counter stop state (CNTR: TPE = 0).
(0% duty ratio):
H
00
H
"H"
"L"
(50% duty ratio):
H
00
H
"H"
"L"
(99.6% duty ratio):
H
00
H
"H"
"L"
CHAPTER 7 8-BIT PWM TIMER
80
H
FF
For one count
FF
00
H
H
FF
00
H
H
00
H
H
151