Enum xmc4300::ecat0::sync_latch_config::SYNC0_POL_A
source · #[repr(u8)]pub enum SYNC0_POL_A {
VALUE1 = 0,
VALUE2 = 1,
VALUE3 = 2,
VALUE4 = 3,
}
Expand description
SYNC0 output driver/polarity
Value on reset: 2
Variants§
VALUE1 = 0
0: Push-Pull active low
VALUE2 = 1
1: Open Drain (active low)
VALUE3 = 2
2: Push-Pull active high
VALUE4 = 3
3: Open Source (active high)
Trait Implementations§
source§impl Clone for SYNC0_POL_A
impl Clone for SYNC0_POL_A
source§fn clone(&self) -> SYNC0_POL_A
fn clone(&self) -> SYNC0_POL_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 SYNC0_POL_A
impl Debug for SYNC0_POL_A
source§impl From<SYNC0_POL_A> for u8
impl From<SYNC0_POL_A> for u8
source§fn from(variant: SYNC0_POL_A) -> Self
fn from(variant: SYNC0_POL_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for SYNC0_POL_A
impl PartialEq for SYNC0_POL_A
source§fn eq(&self, other: &SYNC0_POL_A) -> bool
fn eq(&self, other: &SYNC0_POL_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SYNC0_POL_A
impl Eq for SYNC0_POL_A
impl IsEnum for SYNC0_POL_A
impl StructuralPartialEq for SYNC0_POL_A
Auto Trait Implementations§
impl Freeze for SYNC0_POL_A
impl RefUnwindSafe for SYNC0_POL_A
impl Send for SYNC0_POL_A
impl Sync for SYNC0_POL_A
impl Unpin for SYNC0_POL_A
impl UnwindSafe for SYNC0_POL_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