Datasheet

939
SAM4S Series [DATASHEET]
Atmel-11100G-ATARM-SAM4S-Datasheet_27-May-14
Figure 39-7. Complementary Output Waveforms
39.6.2.5 Output Override
The two complementary outputs DTOHx and DTOLx of the dead-time generator can be forced to a value defined
by the software.
Figure 39-8. Override Output Selection
The fields OSHx and OSLx in the “PWM Output Selection Register (PWM_OS) allow the outputs of the dead-time
generator DTOHx and DTOLx to be overridden by the value defined in the fields OOVHx and OOVLx in the“PWM
Output Override Value Register” (PWM_OOV).
The set registers “PWM Output Selection Set Register” (PWM_OSS) and “PWM Output Selection Set Update
Register” (PWM_OSSUPD) enable the override of the outputs of a channel regardless of other channels. In the
same way, the clear registers “PWM Output Selection Clear Register” (PWM_OSC) and “PWM Output Selection
Clear Update Register” (PWM_OSCUPD) disable the override of the outputs of a channel regardless of other
channels.
DTHx DTLx
output waveform OCx
CPOLx = 0
output waveform DTOHx
DTHIx = 0
output waveform DTOLx
DTLIx = 0
output waveform DTOHx
DTHIx = 1
output waveform DTOLx
DTLIx = 1
DTHx DTLx
output waveform OCx
CPOLx = 1
output waveform DTOHx
DTHIx = 0
output waveform DTOLx
DTLIx = 0
output waveform DTOHx
DTHIx = 1
output waveform DTOLx
DTLIx = 1
DTOHx
OOVHx
OOOHx
OSHx
0
1
DTOLx
OOVLx
OOOLx
OSLx
0
1