Atmel Xplained Pro Evaluation Kit ATSAM4E-XPRO ATSAM4E-XPRO Data Sheet

Product codes
ATSAM4E-XPRO
Page of 1506
973
SAM4E [DATASHEET]
Atmel-11157D-ATARM-SAM4E16-SAM4E8-Datasheet_12-Jun-14
39.6.13 External Event/Trigger Conditions
An external event can be programmed to be detected on one of the clock sources (XC0, XC1, XC2) or TIOB. The
external event selected can then be used as a trigger. 
The EEVT parameter in TC_CMR selects the external trigger. The EEVTEDG parameter defines the trigger edge
for each of the possible external triggers (rising, falling or both). If EEVTEDG is cleared (none), no external event
is defined.
If TIOB is defined as an external event signal (EEVT = 0), TIOB is no longer used as an output and the compare
register B is not used to generate waveforms and subsequently no IRQs. In this case the TC channel can only
generate a waveform on TIOA.
When an external event is defined, it can be used as a trigger by setting bit ENETRG in the TC_CMR.
As in Capture Mode, the SYNC signal and the software trigger are also available as triggers. RC Compare can
also be used as a trigger depending on the parameter WAVSEL.
39.6.14 Synchronization with PWM
The inputs TIOAB[2:0] can be bypassed, and thus channel trigger/capture events can be directly driven by the
independent PWM module.
PWM comparator outputs (internal signals without dead-time insertion), respectively source of the PWMH/L[2:0]
outputs, are routed to the internal TC inputs. These specific TC inputs are multiplexed with TIOA/B input signal to
drive the internal trigger/capture events.
The selection can be programmed in the extended mode register (TC_EMR) fields TRGSRCA and TRGSRCB
(see 
Each channel of the TC module can be synchronized by a different PWM channel as described in 
.