Datasheet

1021
SAM4E [DATASHEET]
Atmel-11157D-ATARM-SAM4E16-SAM4E8-Datasheet_12-Jun-14
40.5.2 Power Management
The PWM is not continuously clocked. The programmer must first enable the PWM clock in the Power
Management Controller (PMC) before using the PWM. However, if the application does not require PWM
operations, the PWM clock can be stopped when not needed and be restarted later. In this case, the PWM will
resume its operations where it left off.
40.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.
40.5.4 Fault Inputs
The PWM has the FAULT inputs connected to the different modules. Please refer to the implementation of these
module within the product for detailed information about the fault generation procedure. The PWM receives faults
from PIO inputs, the PMC, the ADC controller, the Analog Comparator Controller and Timer/Counters.
PWM PWML1 PA20 B
PWM PWML1 PB12 A
PWM PWML1 PC1 B
PWM PWML1 PC15 B
PWM PWML1 PD25 A
PWM PWML2 PA16 C
PWM PWML2 PA30 A
PWM PWML2 PB13 A
PWM PWML2 PC2 B
PWM PWML2 PD26 A
PWM PWML3 PA15 C
PWM PWML3 PC3 B
PWM PWML3 PC22 B
PWM PWML3 PD27 A
Table 40-2. I/O Lines
Table 40-3. Peripheral IDs
Instance ID
PWM 36
Table 40-4. Fault Inputs
Fault Generator External PWM Fault Input Number Polarity Level
(1)
Fault Input ID
Main OSC (PMC) To be configured to 1 0
ADC To be configured to 1 1
PXyy PWMFI0 User-defined 2
PXyy PWMFI1 User-defined 3