#[repr(u8)]pub enum InterruptPinResponse {
Latched = 0,
Pulsed = 1,
}Expand description
The response of the physical interrupt pin.
Variants§
Latched = 0
The physical interrupt pin (INT) latches until it is cleared by reading INT_REL
Pulsed = 1
The physical interrupt pin (INT) will transmit one pulse with a period of 0.03 - 0.05ms
Trait Implementations§
Source§impl Clone for InterruptPinResponse
impl Clone for InterruptPinResponse
Source§fn clone(&self) -> InterruptPinResponse
fn clone(&self) -> InterruptPinResponse
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 InterruptPinResponse
Source§impl Debug for InterruptPinResponse
impl Debug for InterruptPinResponse
impl Eq for InterruptPinResponse
Source§impl PartialEq for InterruptPinResponse
impl PartialEq for InterruptPinResponse
Source§fn eq(&self, other: &InterruptPinResponse) -> bool
fn eq(&self, other: &InterruptPinResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InterruptPinResponse
Source§impl TryFrom<u8> for InterruptPinResponse
impl TryFrom<u8> for InterruptPinResponse
Source§type Error = TryFromPrimitiveError<InterruptPinResponse>
type Error = TryFromPrimitiveError<InterruptPinResponse>
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for InterruptPinResponse
impl RefUnwindSafe for InterruptPinResponse
impl Send for InterruptPinResponse
impl Sync for InterruptPinResponse
impl Unpin for InterruptPinResponse
impl UnsafeUnpin for InterruptPinResponse
impl UnwindSafe for InterruptPinResponse
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