Enum xmc4800::vadc_g0::qctrl0::SRCRESREG_A
source · #[repr(u8)]pub enum SRCRESREG_A {
VALUE1 = 0,
VALUE2 = 1,
VALUE3 = 15,
}
Expand description
Source-specific Result Register
Value on reset: 0
Variants§
VALUE1 = 0
0: Use GxCHCTRy.RESREG to select a group result register
VALUE2 = 1
1: Store result in group result register GxRES1
VALUE3 = 15
15: Store result in group result register GxRES15
Trait Implementations§
source§impl Clone for SRCRESREG_A
impl Clone for SRCRESREG_A
source§fn clone(&self) -> SRCRESREG_A
fn clone(&self) -> SRCRESREG_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 SRCRESREG_A
impl Debug for SRCRESREG_A
source§impl From<SRCRESREG_A> for u8
impl From<SRCRESREG_A> for u8
source§fn from(variant: SRCRESREG_A) -> Self
fn from(variant: SRCRESREG_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for SRCRESREG_A
impl PartialEq for SRCRESREG_A
source§fn eq(&self, other: &SRCRESREG_A) -> bool
fn eq(&self, other: &SRCRESREG_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SRCRESREG_A
impl Eq for SRCRESREG_A
impl IsEnum for SRCRESREG_A
impl StructuralPartialEq for SRCRESREG_A
Auto Trait Implementations§
impl Freeze for SRCRESREG_A
impl RefUnwindSafe for SRCRESREG_A
impl Send for SRCRESREG_A
impl Sync for SRCRESREG_A
impl Unpin for SRCRESREG_A
impl UnwindSafe for SRCRESREG_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