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§
Source§impl Clone for DynRtcSourceId
impl Clone for DynRtcSourceId
Source§fn clone(&self) -> DynRtcSourceId
fn clone(&self) -> DynRtcSourceId
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 From<DynRtcSourceId> for Rtcselselect
impl From<DynRtcSourceId> for Rtcselselect
Source§fn from(source: DynRtcSourceId) -> Self
fn from(source: DynRtcSourceId) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DynRtcSourceId
impl PartialEq for DynRtcSourceId
impl Copy for DynRtcSourceId
impl Eq for DynRtcSourceId
impl StructuralPartialEq for DynRtcSourceId
Auto Trait Implementations§
impl Freeze for DynRtcSourceId
impl RefUnwindSafe for DynRtcSourceId
impl Send for DynRtcSourceId
impl Sync for DynRtcSourceId
impl Unpin for DynRtcSourceId
impl UnwindSafe for DynRtcSourceId
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