#[repr(u8)]pub enum IntCtrl {
EDGE_DISABLE = 0,
LVL_DISABLE = 1,
EDGE_RISING = 2,
LVL_HIGH = 3,
EDGE_FALLING = 4,
LVL_LOW = 5,
EDGE_BOTH = 6,
LVL_DIS2 = 7,
}Variants§
EDGE_DISABLE = 0
The analog comparator interrupt edge sensitive is disabled.
LVL_DISABLE = 1
The analog comparator interrupt level sensitive is disabled.
EDGE_RISING = 2
analog comparator interrupt is rising edge sensitive.
LVL_HIGH = 3
Analog Comparator interrupt is high level sensitive.
EDGE_FALLING = 4
analog comparator interrupt is falling edge sensitive.
LVL_LOW = 5
Analog Comparator interrupt is low level sensitive.
EDGE_BOTH = 6
analog comparator interrupt is rising and falling edge sensitive.
LVL_DIS2 = 7
The analog comparator interrupt level sensitive is disabled.
Implementations§
Trait Implementations§
Source§impl Ord for IntCtrl
impl Ord for IntCtrl
Source§impl PartialOrd for IntCtrl
impl PartialOrd for IntCtrl
impl Copy for IntCtrl
impl Eq for IntCtrl
impl StructuralPartialEq for IntCtrl
Auto Trait Implementations§
impl Freeze for IntCtrl
impl RefUnwindSafe for IntCtrl
impl Send for IntCtrl
impl Sync for IntCtrl
impl Unpin for IntCtrl
impl UnwindSafe for IntCtrl
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