Datasheet

630
11011B–ATARM–21-Feb-12
SAM3N
32.5.3 Interrupt Sources
The PWM interrupt line is connected on one of the internal sources of the Interrupt Controller.
Using the PWM interrupt requires the Interrupt Controller to be programmed first. Note that it is
not recommended to use the PWM interrupt line in edge sensitive mode.
32.6 Functional Description
The PWM macrocell is primarily composed of a clock generator module and 4 channels.
Clocked by the system clock, MCK, the clock generator module provides 13 clocks.
Each channel can independently choose one of the clock generator outputs.
Each channel generates an output waveform with attributes that can be defined
independently for each channel through the user interface registers.
32.6.1 PWM Clock Generator
Figure 32-2. Functional View of the Clock Generator Block Diagram
Table 32-3. Peripheral IDs
Instance ID
PWM 31
modulo n counter
MCK
MCK/2
MCK/4
MCK/16
MCK/32
MCK/64
MCK/8
Divider A clkA
DIVA
PWM_MR
MCK
MCK/128
MCK/256
MCK/512
MCK/1024
PREA
Divider B clkB
DIVB
PWM_MR
PREB