Enum xmc4300::vadc_g0::chctr::CHEVMODE_A
source · #[repr(u8)]pub enum CHEVMODE_A {
VALUE1 = 0,
VALUE2 = 1,
VALUE3 = 2,
VALUE4 = 3,
}
Expand description
Channel Event Mode
Value on reset: 0
Variants§
VALUE1 = 0
0: Never
VALUE2 = 1
1: NCM: If result is inside the boundary band FCM: If result becomes high (above cmp. val.)
VALUE3 = 2
2: NCM: If result is outside the boundary band FCM: If result becomes low (below cmp. val.)
VALUE4 = 3
3: NCM: Always (ignore band) FCM: If result switches to either level
Trait Implementations§
source§impl Clone for CHEVMODE_A
impl Clone for CHEVMODE_A
source§fn clone(&self) -> CHEVMODE_A
fn clone(&self) -> CHEVMODE_A
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 CHEVMODE_A
impl Debug for CHEVMODE_A
source§impl From<CHEVMODE_A> for u8
impl From<CHEVMODE_A> for u8
source§fn from(variant: CHEVMODE_A) -> Self
fn from(variant: CHEVMODE_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for CHEVMODE_A
impl PartialEq for CHEVMODE_A
source§fn eq(&self, other: &CHEVMODE_A) -> bool
fn eq(&self, other: &CHEVMODE_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CHEVMODE_A
impl Eq for CHEVMODE_A
impl IsEnum for CHEVMODE_A
impl StructuralPartialEq for CHEVMODE_A
Auto Trait Implementations§
impl Freeze for CHEVMODE_A
impl RefUnwindSafe for CHEVMODE_A
impl Send for CHEVMODE_A
impl Sync for CHEVMODE_A
impl Unpin for CHEVMODE_A
impl UnwindSafe for CHEVMODE_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