16-Bit Standard Pwm Output (With Continuously Variable Duty; Operation - Panasonic MN101L Series User Manual

Lsi
Table of Contents

Advertisement

9.6 16-bit Standard PWM Output
(with Continuously Variable Duty)
9.6.1

Operation

In the standard PWM output function, a PWM waveform with a given duty cycle can be generated and output
from TMnIO pin.
16-bit Standard PWM Output
A PWM waveform with a given duty cycle is generated by setting TMnOC1 to "High" period of the PWM duty.
And the period of the PWM is the time of the full count overflow of the 16-bit timer.
The PWM output pin is shown in Table:9.1.1.
Count Timing of Standard PWM Output (at Normal)
Count
clock
TMnEN
bit
Compare
register 1
Binary
0000 0001
counter
TMnIO output
(PWM output)
(A)
(Compare registser 1 setting value + 1)
Figure:9.6.1 Count Timing of Standard PWM Output (at Normal)
As for PWM output waveform:
• (A) PWM output is "High" while the binary counter counts up from "0x0000" to the setting value of the com-
pare register.
• (B) PWM output changes to "Low" when the binary counter matches the setting value of the compare register,
then the binary counter continues counting up until it overflows.
• (C) PWM output returns to "High" when the binary counter overflows.
N
N-1
N+1 N+2
(B)
Count time:
PWM basic waveform (overflow time of the binary counter)
N
FFFE FFFF
0000 0001
(C)

16-bit Standard PWM Output (with Continuously Variable Duty)

Chapter 9
16-bit Timer
N
N-1
N+1
IX - 31

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mn101lr05dMn101lr04dMn101lr03dMn101lr02d

Table of Contents