pub enum InterruptPinConfiguration {
PushPull,
OpenDrain,
}
Expand description
Physical interrupt pin configuration
Variants
PushPull
Push-pull configuration (default)
OpenDrain
Open drain configuration
Trait Implementations
sourceimpl Clone for InterruptPinConfiguration
impl Clone for InterruptPinConfiguration
sourcefn clone(&self) -> InterruptPinConfiguration
fn clone(&self) -> InterruptPinConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for InterruptPinConfiguration
impl Debug for InterruptPinConfiguration
sourceimpl PartialEq<InterruptPinConfiguration> for InterruptPinConfiguration
impl PartialEq<InterruptPinConfiguration> for InterruptPinConfiguration
sourcefn eq(&self, other: &InterruptPinConfiguration) -> bool
fn eq(&self, other: &InterruptPinConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for InterruptPinConfiguration
impl Eq for InterruptPinConfiguration
impl StructuralEq for InterruptPinConfiguration
impl StructuralPartialEq for InterruptPinConfiguration
Auto Trait Implementations
impl RefUnwindSafe for InterruptPinConfiguration
impl Send for InterruptPinConfiguration
impl Sync for InterruptPinConfiguration
impl Unpin for InterruptPinConfiguration
impl UnwindSafe for InterruptPinConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more