#[repr(u8)]pub enum COMP2MODE {
HighSpeed = 0,
MediumSpeed = 1,
LowSpeed = 2,
VeryLowSpeed = 3,
}
Expand description
Comparator 2 mode
Value on reset: 0
Variants§
HighSpeed = 0
0: High speed / full power
MediumSpeed = 1
1: Medium speed / medium power
LowSpeed = 2
2: Low speed / low power
VeryLowSpeed = 3
3: Very-low speed / ultra-low power
Trait Implementations§
impl Copy for COMP2MODE
impl Eq for COMP2MODE
impl IsEnum for COMP2MODE
impl StructuralPartialEq for COMP2MODE
Auto Trait Implementations§
impl Freeze for COMP2MODE
impl RefUnwindSafe for COMP2MODE
impl Send for COMP2MODE
impl Sync for COMP2MODE
impl Unpin for COMP2MODE
impl UnwindSafe for COMP2MODE
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