Enum atsam4e16e_pac::tc2::emr1::TRIGSRCA_A
source · #[repr(u8)]
pub enum TRIGSRCA_A {
EXTERNAL_TIOAX,
PWMX,
}
Expand description
Trigger Source for Input A
Value on reset: 0
Variants§
EXTERNAL_TIOAX
0: The trigger/capture input A is driven by external pin TIOAx
PWMX
1: The trigger/capture input A is driven internally by PWMx
Trait Implementations§
source§impl Clone for TRIGSRCA_A
impl Clone for TRIGSRCA_A
source§fn clone(&self) -> TRIGSRCA_A
fn clone(&self) -> TRIGSRCA_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 TRIGSRCA_A
impl Debug for TRIGSRCA_A
source§impl From<TRIGSRCA_A> for u8
impl From<TRIGSRCA_A> for u8
source§fn from(variant: TRIGSRCA_A) -> Self
fn from(variant: TRIGSRCA_A) -> Self
Converts to this type from the input type.
source§impl PartialEq<TRIGSRCA_A> for TRIGSRCA_A
impl PartialEq<TRIGSRCA_A> for TRIGSRCA_A
source§fn eq(&self, other: &TRIGSRCA_A) -> bool
fn eq(&self, other: &TRIGSRCA_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TRIGSRCA_A
impl Eq for TRIGSRCA_A
impl StructuralEq for TRIGSRCA_A
impl StructuralPartialEq for TRIGSRCA_A
Auto Trait Implementations§
impl RefUnwindSafe for TRIGSRCA_A
impl Send for TRIGSRCA_A
impl Sync for TRIGSRCA_A
impl Unpin for TRIGSRCA_A
impl UnwindSafe for TRIGSRCA_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