English
Language : 

SAM7X128_14 Datasheet, PDF (407/662 Pages) ATMEL Corporation – ARM-based Flash MCU
33. Pulse Width Modulation Controller (PWM)
33.1 Overview
The PWM macrocell controls several channels independently. Each channel controls one square output waveform.
Characteristics of the output waveform such as period, duty-cycle and polarity are configurable through the user
interface. Each channel selects and uses one of the clocks provided by the clock generator. The clock generator
provides several clocks resulting from the division of the PWM macrocell master clock.
All PWM macrocell accesses are made through APB mapped registers.
Channels can be synchronized, to generate non overlapped waveforms. All channels integrate a double buffering system
in order to prevent an unexpected output waveform while modifying the period or the duty-cycle.
33.2 Block Diagram
Figure 33-1. Pulse Width Modulation Controller Block Diagram
PWMx
Channel
PWM
Controller
Period
Update
Clock
Selector
Duty Cycle
Counter
Comparator
PWMx
PWMx
PIO
PWM0
Channel
Clock
Selector
Period
Update
Duty Cycle
Counter
Comparator
PMC
MCK
Clock Generator
APB Interface
Interrupt Generator
APB
PWM0
PWM0
AIC
SAM7X Series [DATASHEET]
6120K–ATARM–11-Feb-14
407