Atmel ARM-Based Evaluation Kit for SAM4S16C, 32-Bit ARM® Cortex® Microcontroller ATSAM4S-WPIR-RD ATSAM4S-WPIR-RD Data Sheet

Product codes
ATSAM4S-WPIR-RD
Page of 1231
837
SAM4S Series [DATASHEET]
Atmel-11100G-ATARM-SAM4S-Datasheet_27-May-14
37.6.10 Waveform Operating Mode
Waveform operating mode is entered by setting the WAVE parameter in TC_CMR (Channel Mode Register). 
In Waveform Operating Mode the TC channel generates one or two PWM signals with the same frequency and 
independently programmable duty cycles, or generates different types of one-shot or repetitive pulses. 
In this mode, TIOA is configured as an output and TIOB is defined as an output if it is not used as an external event 
(EEVT parameter in TC_CMR).
 shows the configuration of the TC channel when programmed in Waveform Operating Mode.
37.6.11 Waveform Selection
Depending on the WAVSEL parameter in TC_CMR (Channel Mode Register), the behavior of TC_CV varies.
With any selection, TC_RA, TC_RB and TC_RC can all be used as compare registers.
RA Compare is used to control the TIOA output, RB Compare is used to control the TIOB output (if correctly 
configured) and RC Compare is used to control TIOA and/or TIOB outputs.