pub struct RxTwoBits<'d> { /* private fields */ }Expand description
Data pin configuration for 2 bit input mode
Implementations§
Source§impl<'d> RxTwoBits<'d>
impl<'d> RxTwoBits<'d>
Sourcepub fn new(
pin_p0: impl PeripheralInput<'d>,
pin_p1: impl PeripheralInput<'d>,
) -> Self
pub fn new( pin_p0: impl PeripheralInput<'d>, pin_p1: impl PeripheralInput<'d>, ) -> Self
Create a new RX pin
Auto Trait Implementations§
impl<'d> Freeze for RxTwoBits<'d>
impl<'d> RefUnwindSafe for RxTwoBits<'d>
impl<'d> Send for RxTwoBits<'d>
impl<'d> Sync for RxTwoBits<'d>
impl<'d> Unpin for RxTwoBits<'d>
impl<'d> !UnwindSafe for RxTwoBits<'d>
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