Enum atsamd_hal::clock::v2::gclk::DynGclkSourceId
source · [−]pub enum DynGclkSourceId {
Dfll,
Dpll0,
Dpll1,
Gclk1,
GclkIn,
OscUlp32k,
Xosc0,
Xosc1,
Xosc32k,
}
Expand description
Value-level enum of possible clock sources for a Gclk
The variants of this enum identify one of nine possible clock sources for
a given Gclk
.
DynGclkSourceId
is the value-level equivalent of GclkSourceId
.
Variants
Dfll
Dpll0
Dpll1
Gclk1
GclkIn
OscUlp32k
Xosc0
Xosc1
Xosc32k
Trait Implementations
sourceimpl Clone for DynGclkSourceId
impl Clone for DynGclkSourceId
sourcefn clone(&self) -> DynGclkSourceId
fn clone(&self) -> DynGclkSourceId
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl From<DynGclkSourceId> for SRC_A
impl From<DynGclkSourceId> for SRC_A
sourcefn from(source: DynGclkSourceId) -> Self
fn from(source: DynGclkSourceId) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<DynGclkSourceId> for DynGclkSourceId
impl PartialEq<DynGclkSourceId> for DynGclkSourceId
sourcefn eq(&self, other: &DynGclkSourceId) -> bool
fn eq(&self, other: &DynGclkSourceId) -> bool
impl Copy for DynGclkSourceId
impl Eq for DynGclkSourceId
impl StructuralEq for DynGclkSourceId
impl StructuralPartialEq for DynGclkSourceId
Auto Trait Implementations
impl RefUnwindSafe for DynGclkSourceId
impl Send for DynGclkSourceId
impl Sync for DynGclkSourceId
impl Unpin for DynGclkSourceId
impl UnwindSafe for DynGclkSourceId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more