Enum xmc4800::ebu::buswap1::EXTCLOCK_A
source · #[repr(u8)]pub enum EXTCLOCK_A {
VALUE1 = 0,
VALUE2 = 1,
VALUE3 = 2,
VALUE4 = 3,
}
Expand description
Frequency of external clock at pin BFCLKO
Value on reset: 3
Variants§
VALUE1 = 0
0: Equal to INT_CLK frequency.
VALUE2 = 1
1: 1/2 of INT_CLK frequency.
VALUE3 = 2
2: 1/3 of INT_CLK frequency.
VALUE4 = 3
3: 1/4 of INT_CLK frequency (default after reset).
Trait Implementations§
source§impl Clone for EXTCLOCK_A
impl Clone for EXTCLOCK_A
source§fn clone(&self) -> EXTCLOCK_A
fn clone(&self) -> EXTCLOCK_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 EXTCLOCK_A
impl Debug for EXTCLOCK_A
source§impl From<EXTCLOCK_A> for u8
impl From<EXTCLOCK_A> for u8
source§fn from(variant: EXTCLOCK_A) -> Self
fn from(variant: EXTCLOCK_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for EXTCLOCK_A
impl PartialEq for EXTCLOCK_A
source§fn eq(&self, other: &EXTCLOCK_A) -> bool
fn eq(&self, other: &EXTCLOCK_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for EXTCLOCK_A
impl Eq for EXTCLOCK_A
impl IsEnum for EXTCLOCK_A
impl StructuralPartialEq for EXTCLOCK_A
Auto Trait Implementations§
impl Freeze for EXTCLOCK_A
impl RefUnwindSafe for EXTCLOCK_A
impl Send for EXTCLOCK_A
impl Sync for EXTCLOCK_A
impl Unpin for EXTCLOCK_A
impl UnwindSafe for EXTCLOCK_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