Enum stm32_hal2::rtc::RtcClockSource
source · #[repr(u8)]
pub enum RtcClockSource {
Lse,
Lsi,
Hse,
}
Expand description
RTC Clock source.
Variants§
Lse
01: LSE oscillator clock used as RTC clock
Lsi
10: LSI oscillator clock used as RTC clock
Hse
11: HSE oscillator clock divided by 32 used as RTC clock
Trait Implementations§
source§impl Clone for RtcClockSource
impl Clone for RtcClockSource
source§fn clone(&self) -> RtcClockSource
fn clone(&self) -> RtcClockSource
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 RtcClockSource
impl Debug for RtcClockSource
source§impl PartialEq<RtcClockSource> for RtcClockSource
impl PartialEq<RtcClockSource> for RtcClockSource
source§fn eq(&self, other: &RtcClockSource) -> bool
fn eq(&self, other: &RtcClockSource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.