pub trait ComplementaryCaptureCompare16bitInstance: CaptureCompare16bitInstance + AdvancedControlInstance {
// Provided methods
fn set_complementary_output_polarity(
&mut self,
channel: Channel,
polarity: OutputPolarity
) { ... }
fn set_dead_time_clock_division(&mut self, value: Ckd) { ... }
fn set_dead_time_value(&mut self, value: u8) { ... }
fn enable_complementary_channel(&mut self, channel: Channel, enable: bool) { ... }
}
Expand description
Capture/Compare 16-bit timer instance with complementary pin support.
Provided Methods§
sourcefn set_complementary_output_polarity(
&mut self,
channel: Channel,
polarity: OutputPolarity
)
fn set_complementary_output_polarity( &mut self, channel: Channel, polarity: OutputPolarity )
Set complementary output polarity.
sourcefn set_dead_time_clock_division(&mut self, value: Ckd)
fn set_dead_time_clock_division(&mut self, value: Ckd)
Set clock divider for the dead time.
sourcefn set_dead_time_value(&mut self, value: u8)
fn set_dead_time_value(&mut self, value: u8)
Set dead time, as a fraction of the max duty value.
sourcefn enable_complementary_channel(&mut self, channel: Channel, enable: bool)
fn enable_complementary_channel(&mut self, channel: Channel, enable: bool)
Enable/disable a complementary channel.
Object Safety§
This trait is not object safe.