HWA
Bare metal programming with style
|
_dtga
objects are dead time generators.
They are used in:
dtg1
configure
:
The same clock prescaler is used for the 4 units. delay_h
and delay_l
are the number of prescaled clock units before the assertion of the corresponding output:
Class _dtga
objects hold the following hardware registers:
dtps
: clock prescalerdta
: dead time register adtb
: dead time register bthat hold the following logical registers:
psc
: clock prescalercompare0_h
: delay for output pin of compare unit 0compare0_l
: delay for complementary output pin of compare unit 0compare1_h
: delay for output pin of compare unit 1compare1_l
: delay for complementary output pin of compare unit 1