Chapter 6 8-bit Timers

„Count Timing of PWM Output (when the compare register is x'00') (Timers 0, 4 and 5) Here is the count timing when the compare register is set to x'00' ;

Count clock

 

 

 

 

TMnEN

 

 

 

 

flag

 

 

 

 

Compare

 

00

 

 

register

 

 

 

 

 

 

 

Binary

00 01

N-1 N N+1 N+2

FE FF 00 01

N-1 N N+1

 

counter

H

TMnIO output

(PWM output)

L

Figure 6-6-2 Count Timing of PWM Output (when compare register is x'00')

When TMnEN flag is stopped ("0") PWM output is "H".

„Count Timing of PWM Output (when the compare register is x'FF') (Timers 0, 4 and 5) Here is the count timing when the compare register is set to x'FF' ;

Count clock

TMnEN flag

Compare

register

FF

Binary

00 01

N-1 N N+1 N+2

FE FF 00 01

N-1 N N+1

counter

 

 

 

 

TMnIO output (PWM output)

Figure 6-6-3 Count Timing of PWM Output (when compare register is x'FF')

8-bit PWM Output VI - 27

Page 241
Image 241
Panasonic F77G, MN101C77C user manual Count Timing of PWM Output when compare register is