#[repr(u8)]pub enum Intselselect {
Toggle = 0,
Rising = 1,
Falling = 2,
Eoc = 3,
}
Expand description
Interrupt Selection
Value on reset: 0
Variants§
Toggle = 0
0: Interrupt on comparator output toggle
Rising = 1
1: Interrupt on comparator output rising
Falling = 2
2: Interrupt on comparator output falling
Eoc = 3
3: Interrupt on end of comparison (single-shot mode only)
Trait Implementations§
Source§impl Clone for Intselselect
impl Clone for Intselselect
Source§fn clone(&self) -> Intselselect
fn clone(&self) -> Intselselect
Returns a copy 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 Intselselect
impl Debug for Intselselect
Source§impl From<Intselselect> for u8
impl From<Intselselect> for u8
Source§fn from(variant: Intselselect) -> Self
fn from(variant: Intselselect) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Intselselect
impl PartialEq for Intselselect
impl Copy for Intselselect
impl Eq for Intselselect
impl IsEnum for Intselselect
impl StructuralPartialEq for Intselselect
Auto Trait Implementations§
impl Freeze for Intselselect
impl RefUnwindSafe for Intselselect
impl Send for Intselselect
impl Sync for Intselselect
impl Unpin for Intselselect
impl UnwindSafe for Intselselect
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