pub struct NoPin;Expand description
Placeholder pin, used when no pin is required when using a peripheral.
When used as a peripheral signal, NoPin is equivalent to Level::Low.
Trait Implementations§
Source§impl From<NoPin> for InputConnection
impl From<NoPin> for InputConnection
Source§impl From<NoPin> for OutputConnection
impl From<NoPin> for OutputConnection
Source§impl Peripheral for NoPin
impl Peripheral for NoPin
Source§impl StatefulOutputPin for NoPin
impl StatefulOutputPin for NoPin
Source§impl StatefulOutputPin for NoPin
impl StatefulOutputPin for NoPin
impl Copy for NoPin
impl PeripheralInput for NoPin
impl PeripheralOutput for NoPin
Auto Trait Implementations§
impl Freeze for NoPin
impl RefUnwindSafe for NoPin
impl Send for NoPin
impl Sync for NoPin
impl Unpin for NoPin
impl UnwindSafe for NoPin
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