Enum atsamd51p::pdec::evctrl::EVACTSELECT_A
source · #[repr(u8)]pub enum EVACTSELECT_A {
OFF = 0,
RETRIGGER = 1,
COUNT = 2,
}
Expand description
Event Action
Value on reset: 0
Variants§
OFF = 0
0: Event action disabled
RETRIGGER = 1
1: Start, restart or retrigger on event
COUNT = 2
2: Count on event
Trait Implementations§
source§impl Clone for EVACTSELECT_A
impl Clone for EVACTSELECT_A
source§fn clone(&self) -> EVACTSELECT_A
fn clone(&self) -> EVACTSELECT_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 EVACTSELECT_A
impl Debug for EVACTSELECT_A
source§impl From<EVACTSELECT_A> for u8
impl From<EVACTSELECT_A> for u8
source§fn from(variant: EVACTSELECT_A) -> Self
fn from(variant: EVACTSELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for EVACTSELECT_A
impl PartialEq for EVACTSELECT_A
source§fn eq(&self, other: &EVACTSELECT_A) -> bool
fn eq(&self, other: &EVACTSELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for EVACTSELECT_A
impl Eq for EVACTSELECT_A
impl StructuralPartialEq for EVACTSELECT_A
Auto Trait Implementations§
impl Freeze for EVACTSELECT_A
impl RefUnwindSafe for EVACTSELECT_A
impl Send for EVACTSELECT_A
impl Sync for EVACTSELECT_A
impl Unpin for EVACTSELECT_A
impl UnwindSafe for EVACTSELECT_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