Enum atsamd_hal::clock::v2::rtcosc::DynRtcSourceId
source · [−]pub enum DynRtcSourceId {
OscUlp1k,
OscUlp32k,
Xosc1k,
Xosc32k,
}
Expand description
Value-level enum of possible clock sources for the RtcOsc
The variants of this enum identify one of four possible clock sources for
the RtcOsc
.
DynRtcSourceId
is the value-level equivalent of RtcSourceId
.
Variants
OscUlp1k
The RTC is sourced from the OscUlp1k
OscUlp32k
The RTC is sourced from the OscUlp32k
Xosc1k
The RTC is sourced from the Xosc1k
Xosc32k
The RTC is sourced from the Xosc32k
Trait Implementations
sourceimpl Clone for DynRtcSourceId
impl Clone for DynRtcSourceId
sourcefn clone(&self) -> DynRtcSourceId
fn clone(&self) -> DynRtcSourceId
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<DynRtcSourceId> for RTCSEL_A
impl From<DynRtcSourceId> for RTCSEL_A
sourcefn from(source: DynRtcSourceId) -> Self
fn from(source: DynRtcSourceId) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<DynRtcSourceId> for DynRtcSourceId
impl PartialEq<DynRtcSourceId> for DynRtcSourceId
sourcefn eq(&self, other: &DynRtcSourceId) -> bool
fn eq(&self, other: &DynRtcSourceId) -> bool
impl Copy for DynRtcSourceId
impl Eq for DynRtcSourceId
impl StructuralEq for DynRtcSourceId
impl StructuralPartialEq for DynRtcSourceId
Auto Trait Implementations
impl RefUnwindSafe for DynRtcSourceId
impl Send for DynRtcSourceId
impl Sync for DynRtcSourceId
impl Unpin for DynRtcSourceId
impl UnwindSafe for DynRtcSourceId
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