Enum atsam4n16b_pac::adc::emr::CMPMODE_A
source · #[repr(u8)]
pub enum CMPMODE_A {
LOW,
HIGH,
IN,
OUT,
}
Expand description
Comparison Mode
Value on reset: 0
Variants§
LOW
0: Generates an event when the converted data is lower than the low threshold of the window.
HIGH
1: Generates an event when the converted data is higher than the high threshold of the window.
IN
2: Generates an event when the converted data is in the comparison window.
OUT
3: Generates an event when the converted data is out of the comparison window.
Trait Implementations§
source§impl PartialEq<CMPMODE_A> for CMPMODE_A
impl PartialEq<CMPMODE_A> for CMPMODE_A
impl Copy for CMPMODE_A
impl Eq for CMPMODE_A
impl StructuralEq for CMPMODE_A
impl StructuralPartialEq for CMPMODE_A
Auto Trait Implementations§
impl RefUnwindSafe for CMPMODE_A
impl Send for CMPMODE_A
impl Sync for CMPMODE_A
impl Unpin for CMPMODE_A
impl UnwindSafe for CMPMODE_A
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