pub struct CapturePin { /* private fields */ }Expand description
Capture pin wrapper.
Implementations§
Source§impl CapturePin
impl CapturePin
Sourcepub fn new<'d, T: GeneralInstance4Channel, C: TimerChannel>(
pin: Peri<'d, impl TimerPin<T, C>>,
pull: Pull,
) -> CaptureInput<'d, T, C>
👎Deprecated: use CaptureInput::from_pin
pub fn new<'d, T: GeneralInstance4Channel, C: TimerChannel>( pin: Peri<'d, impl TimerPin<T, C>>, pull: Pull, ) -> CaptureInput<'d, T, C>
CaptureInput::from_pinCreate a new capture pin instance.
Auto Trait Implementations§
impl Freeze for CapturePin
impl RefUnwindSafe for CapturePin
impl Send for CapturePin
impl Sync for CapturePin
impl Unpin for CapturePin
impl UnwindSafe for CapturePin
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
Source§impl<T> ToMutAligned for Twhere
T: ?Sized,
impl<T> ToMutAligned for Twhere
T: ?Sized,
Source§fn to_mut_aligned<A>(&mut self) -> &mut Aligned<A, <T as ToMutAligned>::Element>where
A: Alignment,
fn to_mut_aligned<A>(&mut self) -> &mut Aligned<A, <T as ToMutAligned>::Element>where
A: Alignment,
Create a type-checked aligned value from a value that is aligned.