pub struct NC { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Into<OwnOrBorrow<'static, dyn Pin>> for NC
impl Into<OwnOrBorrow<'static, dyn Pin>> for NC
source§fn into(self) -> OwnOrBorrow<'static, dyn Pin>
fn into(self) -> OwnOrBorrow<'static, dyn Pin>
Converts this type into the (usually inferred) input type.
source§impl Pin for NC
impl Pin for NC
source§fn set(&self, _high: bool)
fn set(&self, _high: bool)
Set the pin’s output according to the boolean (true == high, false == low)
source§fn set_interrupt_mode(&self, _mode: InterruptMode)
fn set_interrupt_mode(&self, _mode: InterruptMode)
Set when this pin will generate interrupts
source§fn listen(&'static self, _handler: PinIsrCallback)
fn listen(&'static self, _handler: PinIsrCallback)
Add a handler to be called when this pin generates an interrupt
Auto Trait Implementations§
impl Freeze for NC
impl RefUnwindSafe for NC
impl Send for NC
impl Sync for NC
impl Unpin for NC
impl UnwindSafe for NC
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