pub struct InterruptPinConfiguration {
pub polarity: InterruptPinPolarity,
pub response: InterruptPinResponse,
}Expand description
Physical interrupt pin configuration options
Fields§
§polarity: InterruptPinPolarityThe polarity of the physical interrupt pin , default InterruptPinPolarity::ActiveLow
response: InterruptPinResponseThe response of the physical interrupt pin , default InterruptPinResponse::Latched
Trait Implementations§
Source§impl Clone for InterruptPinConfiguration
impl Clone for InterruptPinConfiguration
Source§fn clone(&self) -> InterruptPinConfiguration
fn clone(&self) -> InterruptPinConfiguration
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InterruptPinConfiguration
Source§impl Debug for InterruptPinConfiguration
impl Debug for InterruptPinConfiguration
Auto Trait Implementations§
impl Freeze for InterruptPinConfiguration
impl RefUnwindSafe for InterruptPinConfiguration
impl Send for InterruptPinConfiguration
impl Sync for InterruptPinConfiguration
impl Unpin for InterruptPinConfiguration
impl UnsafeUnpin for InterruptPinConfiguration
impl UnwindSafe for InterruptPinConfiguration
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