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