Datasheet
976
32117D–AVR-01/12
AT32UC3C
33.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 33-8. Override Output Selection
The OSHx and OSLx fields in the ”Output Selection Register” on page 1016 (OS) allow the out-
puts of the dead-time generator DTOHx and DTOLx to be overridden by the value defined in the
OOVHx and OOVLx fields in the”Output Override Value Register” on page 1015 (OOV).
The set registers ”Output Selection Set Register” on page 1017 and ”Output Selection Set
Update Register” on page 1019 (OSS and OSSUPD) enable the override of the outputs of a
channel regardless of other channels. In the same way, the clear registers ”Output Selection
Clear Register” on page 1018 and ”Output Selection Clear Update Register” on page 1020
(OSC and OSCUPD) disable the override of the outputs of a channel regardless of other
channels.
By using buffer OSSUPD and OSCUPD registers, the output selection of PWM outputs is done
synchronously to the channel counter, at the beginning of the next PWM period.
By using OSS and OSC registers, the output selection of PWM outputs is done asynchronously
to the channel counter, as soon as the register is written.
The value of the current output selection can be read in OS.
While overriding PWM outputs, the channel counters continue to run, only the PWM outputs are
forced to user defined values.
DTOHx
OOVHx
OOOHx
OSHx
0
1
DTOLx
OOVLx
OOOLx
OSLx
0
1