Pwm Timer Interrupt Source And Timing Chart - Fujitsu MB91150 Series Hardware Manual

32-bit microcontroller
Table of Contents

Advertisement

CHAPTER 8 PPG TIMER
8.6

PWM Timer Interrupt Source and Timing Chart

This section describes interrupt sources and provides the related timing charts.
I Interrupt sources and timing chart (PWM output: normal polarity)
Figure 8.6-1 "PWM timer interrupt sources and timing chart (PWM output: normal polarity)"
shows the PWM timer interrupt sources and a timing chart.
Note:
A maximum time of 2.5 T (T: counter clock cycle) is required from when a start trigger is
activated to when the counter value is loaded.
Figure 8.6-1 PWM timer interrupt sources and timing chart (PWM output: normal polarity)
Start trigger
Load
Clock
Count value
X
PWM
Clock
I Examples for setting PWM output to all-low or all-high
Figure 8.6-2 "Example of setting PWM output to all-low" shows how to set the PWM output to
all-low.
PWM
Decrease the
duty ratio in
stages.
220
Maximum of 2.5 T
0003
0002
Valid edge
Figure 8.6-2 Example of setting PWM output to all-low
0001
Duty match
Set the PGMS (mask bit) to 1 by issuing a borrow interrupt.
Setting the PGMS (mask bit) to 0 with borrow interrupt allows
to output a PWM waveform without whisker.
0000
0003
Counter borrow

Advertisement

Table of Contents
loading

Table of Contents