pub struct RxTwoBits<'d, P0, P1> { /* private fields */ }
Expand description
Data pin configuration for 2 bit input mode
Implementations§
Source§impl<'d, P0, P1> RxTwoBits<'d, P0, P1>
impl<'d, P0, P1> RxTwoBits<'d, P0, P1>
pub fn new( pin_p0: impl Peripheral<P = P0> + 'd, pin_p1: impl Peripheral<P = P1> + 'd, ) -> RxTwoBits<'d, P0, P1>
Auto Trait Implementations§
impl<'d, P0, P1> Freeze for RxTwoBits<'d, P0, P1>
impl<'d, P0, P1> RefUnwindSafe for RxTwoBits<'d, P0, P1>where
P0: RefUnwindSafe,
P1: RefUnwindSafe,
impl<'d, P0, P1> Send for RxTwoBits<'d, P0, P1>
impl<'d, P0, P1> Sync for RxTwoBits<'d, P0, P1>
impl<'d, P0, P1> Unpin for RxTwoBits<'d, P0, P1>
impl<'d, P0, P1> !UnwindSafe for RxTwoBits<'d, P0, P1>
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