pub enum ActiveLevel {
Low = 0,
High = 1,
}Expand description
Electrical active level for an interrupt output pin
(§6.1.2, Register (0x38) io_int_ctrl int1_lvl/int2_lvl).
Variants§
Trait Implementations§
Source§impl Clone for ActiveLevel
impl Clone for ActiveLevel
Source§fn clone(&self) -> ActiveLevel
fn clone(&self) -> ActiveLevel
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 ActiveLevel
Source§impl Debug for ActiveLevel
impl Debug for ActiveLevel
Source§impl Default for ActiveLevel
impl Default for ActiveLevel
Source§fn default() -> ActiveLevel
fn default() -> ActiveLevel
Returns the “default value” for a type. Read more
impl Eq for ActiveLevel
Source§impl Format for ActiveLevel
impl Format for ActiveLevel
Source§impl PartialEq for ActiveLevel
impl PartialEq for ActiveLevel
impl StructuralPartialEq for ActiveLevel
Auto Trait Implementations§
impl Freeze for ActiveLevel
impl RefUnwindSafe for ActiveLevel
impl Send for ActiveLevel
impl Sync for ActiveLevel
impl Unpin for ActiveLevel
impl UnsafeUnpin for ActiveLevel
impl UnwindSafe for ActiveLevel
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