Datasheet

918
SAM4S Series [DATASHEET]
11100F–ATARM–29-Jan-14
39.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.
In the PWM description, Master Clock (MCK) is the clock of the peripheral bus to which the PWM is connected.
39.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.
39.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, PMC, ADC controller, Analog Comparator Controller and Timer/Counters.
Note: 1. FPOL field in PWMC_FMR.
PWM PWML1 PC15 B
PWM PWML2 PA16 C
PWM PWML2 PA30 A
PWM PWML2 PB13 A
PWM PWML2 PC2 B
PWM PWML3 PA15 C
PWM PWML3 PC3 B
PWM PWML3 PC22 B
Table 39-2. I/O Lines
Table 39-3. Peripheral IDs
Instance ID
PWM 31
Table 39-4. Fault Inputs
Fault Generator External PWM Fault Input Number Polarity Level
(1)
Fault Input ID
PA9 PWMFI0 User Defined 0
Main OSC (PMC) To be configured to 1 1
ADC To be configured to 1 2
Analog Comparator To be configured to 1 3
Timer0 To be configured to 1 4
Timer1 To be configured to 1 5