Trait atsamd_hal::clock::v2::rtcosc::RtcSourceId
source · [−]pub trait RtcSourceId {
const DYN: DynRtcSourceId;
const FREQ: Hertz;
}
Expand description
Type-level enum
for the RTC oscillator clock source
The RTC can be sourced from any of OscUlp1k
,
OscUlp32k
,
Xosc1k
or Xosc32k
.
See the type-level enum documentation for more details on the pattern.
Type-level enum of possible clock Source
s for the RtcOsc
The types implementing this trait are type-level variants of RtcSourceId
,
and they identify one of four possible clock Source
s for the RtcOsc
.
All implementers of this trait are Id
types, which are
described in more detail in the clock
module documentation.
RtcSourceId
is the type-level equivalent of DynRtcSourceId
. See the
documentation on type-level programming and specifically
type-level enums for more details.
Required Associated Constants
sourceconst DYN: DynRtcSourceId
const DYN: DynRtcSourceId
Corresponding DynRtcSourceId