Enum atsamd51p::tcc0::evctrl::CNTSELSELECT_A
source · #[repr(u8)]pub enum CNTSELSELECT_A {
START = 0,
END = 1,
BETWEEN = 2,
BOUNDARY = 3,
}
Expand description
Timer/counter Output Event Mode
Value on reset: 0
Variants§
START = 0
0: An interrupt/event is generated when a new counter cycle starts
END = 1
1: An interrupt/event is generated when a counter cycle ends
BETWEEN = 2
2: An interrupt/event is generated when a counter cycle ends, except for the first and last cycles
BOUNDARY = 3
3: An interrupt/event is generated when a new counter cycle starts or a counter cycle ends
Trait Implementations§
source§impl Clone for CNTSELSELECT_A
impl Clone for CNTSELSELECT_A
source§fn clone(&self) -> CNTSELSELECT_A
fn clone(&self) -> CNTSELSELECT_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 CNTSELSELECT_A
impl Debug for CNTSELSELECT_A
source§impl From<CNTSELSELECT_A> for u8
impl From<CNTSELSELECT_A> for u8
source§fn from(variant: CNTSELSELECT_A) -> Self
fn from(variant: CNTSELSELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for CNTSELSELECT_A
impl PartialEq for CNTSELSELECT_A
source§fn eq(&self, other: &CNTSELSELECT_A) -> bool
fn eq(&self, other: &CNTSELSELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CNTSELSELECT_A
impl Eq for CNTSELSELECT_A
impl StructuralPartialEq for CNTSELSELECT_A
Auto Trait Implementations§
impl Freeze for CNTSELSELECT_A
impl RefUnwindSafe for CNTSELSELECT_A
impl Send for CNTSELSELECT_A
impl Sync for CNTSELSELECT_A
impl Unpin for CNTSELSELECT_A
impl UnwindSafe for CNTSELSELECT_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