pub trait HrSlaveTimerCpt: HrSlaveTimer {
type CaptureCh1: HrCapture;
type CaptureCh2: HrCapture;
// Required methods
fn capture_ch1(&mut self) -> &mut Self::CaptureCh1;
fn capture_ch2(&mut self) -> &mut Self::CaptureCh2;
fn split_capture(
self,
) -> TimerSplitCapture<Self::Timer, Self::Prescaler, Ch1, Ch2, Self::DacResetTrigger>;
}
Expand description
Trait for unsplit slave timer which still contains its capture modules
Required Associated Types§
type CaptureCh1: HrCapture
type CaptureCh2: HrCapture
Required Methods§
fn capture_ch1(&mut self) -> &mut Self::CaptureCh1
fn capture_ch2(&mut self) -> &mut Self::CaptureCh2
fn split_capture( self, ) -> TimerSplitCapture<Self::Timer, Self::Prescaler, Ch1, Ch2, Self::DacResetTrigger>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.