pub struct QeiPin<'d, T, Channel> { /* private fields */ }Expand description
Wrapper for using a pin with QEI.
Implementations§
Source§impl<'d, T: CaptureCompare16bitInstance> QeiPin<'d, T, Ch1>
 
impl<'d, T: CaptureCompare16bitInstance> QeiPin<'d, T, Ch1>
Sourcepub fn new_ch1(pin: impl Peripheral<P = impl Channel1Pin<T>> + 'd) -> Self
 
pub fn new_ch1(pin: impl Peripheral<P = impl Channel1Pin<T>> + 'd) -> Self
Create a new Ch1 QEI pin instance.
Source§impl<'d, T: CaptureCompare16bitInstance> QeiPin<'d, T, Ch2>
 
impl<'d, T: CaptureCompare16bitInstance> QeiPin<'d, T, Ch2>
Sourcepub fn new_ch2(pin: impl Peripheral<P = impl Channel2Pin<T>> + 'd) -> Self
 
pub fn new_ch2(pin: impl Peripheral<P = impl Channel2Pin<T>> + 'd) -> Self
Create a new Ch2 QEI pin instance.
Auto Trait Implementations§
impl<'d, T, Channel> Freeze for QeiPin<'d, T, Channel>
impl<'d, T, Channel> RefUnwindSafe for QeiPin<'d, T, Channel>where
    T: RefUnwindSafe,
    Channel: RefUnwindSafe,
impl<'d, T, Channel> Send for QeiPin<'d, T, Channel>
impl<'d, T, Channel> Sync for QeiPin<'d, T, Channel>
impl<'d, T, Channel> Unpin for QeiPin<'d, T, Channel>
impl<'d, T, Channel> !UnwindSafe for QeiPin<'d, T, Channel>
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