pub struct CaptureErasedChannel<TIM> { /* private fields */ }
Implementations§
Source§impl<TIM: Instance + WithCapture> CaptureErasedChannel<TIM>
impl<TIM: Instance + WithCapture> CaptureErasedChannel<TIM>
Sourcepub fn get_capture(&self) -> u32
pub fn get_capture(&self) -> u32
Get capture value
Sourcepub fn set_polarity(&mut self, p: CapturePolarity)
pub fn set_polarity(&mut self, p: CapturePolarity)
Set input capture channel polarity
Auto Trait Implementations§
impl<TIM> Freeze for CaptureErasedChannel<TIM>where
TIM: Freeze,
impl<TIM> RefUnwindSafe for CaptureErasedChannel<TIM>where
TIM: RefUnwindSafe,
impl<TIM> Send for CaptureErasedChannel<TIM>where
TIM: Send,
impl<TIM> Sync for CaptureErasedChannel<TIM>where
TIM: Sync,
impl<TIM> Unpin for CaptureErasedChannel<TIM>where
TIM: Unpin,
impl<TIM> UnwindSafe for CaptureErasedChannel<TIM>where
TIM: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more