Datasheet

925
SAM4S Series [DATASHEET]
11100F–ATARM–29-Jan-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.
By using buffer registers PWM_OSSUPD and PWM_OSCUPD, the output selection of PWM outputs is done
synchronously to the channel counter, at the beginning of the next PWM period.
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