Enum atsamd51p::tcc0::fctrlb::CAPTURESELECT_A
source · #[repr(u8)]pub enum CAPTURESELECT_A {
DISABLE = 0,
CAPT = 1,
CAPTMIN = 2,
CAPTMAX = 3,
LOCMIN = 4,
LOCMAX = 5,
DERIV0 = 6,
CAPTMARK = 7,
}
Expand description
Fault B Capture Action
Value on reset: 0
Variants§
DISABLE = 0
0: No capture
CAPT = 1
1: Capture on fault
CAPTMIN = 2
2: Minimum capture
CAPTMAX = 3
3: Maximum capture
LOCMIN = 4
4: Minimum local detection
LOCMAX = 5
5: Maximum local detection
DERIV0 = 6
6: Minimum and maximum local detection
CAPTMARK = 7
7: Capture with ramp index as MSB value
Trait Implementations§
source§impl Clone for CAPTURESELECT_A
impl Clone for CAPTURESELECT_A
source§fn clone(&self) -> CAPTURESELECT_A
fn clone(&self) -> CAPTURESELECT_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 CAPTURESELECT_A
impl Debug for CAPTURESELECT_A
source§impl From<CAPTURESELECT_A> for u8
impl From<CAPTURESELECT_A> for u8
source§fn from(variant: CAPTURESELECT_A) -> Self
fn from(variant: CAPTURESELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for CAPTURESELECT_A
impl PartialEq for CAPTURESELECT_A
source§fn eq(&self, other: &CAPTURESELECT_A) -> bool
fn eq(&self, other: &CAPTURESELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CAPTURESELECT_A
impl Eq for CAPTURESELECT_A
impl StructuralPartialEq for CAPTURESELECT_A
Auto Trait Implementations§
impl Freeze for CAPTURESELECT_A
impl RefUnwindSafe for CAPTURESELECT_A
impl Send for CAPTURESELECT_A
impl Sync for CAPTURESELECT_A
impl Unpin for CAPTURESELECT_A
impl UnwindSafe for CAPTURESELECT_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