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 ==
.impl Copy for RtcClockSource
impl StructuralPartialEq for RtcClockSource
Auto Trait Implementations§
impl RefUnwindSafe for RtcClockSource
impl Send for RtcClockSource
impl Sync for RtcClockSource
impl Unpin for RtcClockSource
impl UnwindSafe for RtcClockSource
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