pub struct InterruptPinConfig {
pub active_level: ActiveLevel,
pub output_mode: OutputMode,
pub enabled: bool,
}Expand description
Electrical configuration for INT1 or INT2.
Fields§
§active_level: ActiveLevelActive signaling level.
output_mode: OutputModeOutput driver type.
enabled: boolWhether the selected output is enabled.
Trait Implementations§
Source§impl Clone for InterruptPinConfig
impl Clone for InterruptPinConfig
Source§fn clone(&self) -> InterruptPinConfig
fn clone(&self) -> InterruptPinConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InterruptPinConfig
impl Debug for InterruptPinConfig
Source§impl Format for InterruptPinConfig
impl Format for InterruptPinConfig
Source§impl PartialEq for InterruptPinConfig
impl PartialEq for InterruptPinConfig
impl Copy for InterruptPinConfig
impl Eq for InterruptPinConfig
impl StructuralPartialEq for InterruptPinConfig
Auto Trait Implementations§
impl Freeze for InterruptPinConfig
impl RefUnwindSafe for InterruptPinConfig
impl Send for InterruptPinConfig
impl Sync for InterruptPinConfig
impl Unpin for InterruptPinConfig
impl UnsafeUnpin for InterruptPinConfig
impl UnwindSafe for InterruptPinConfig
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