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