Enum RtcClockSource
#[repr(u8)]pub enum RtcClockSource {
DISABLE = 0,
LSE = 1,
LSI = 2,
HSE = 3,
}
Variants§
DISABLE = 0
No clock
LSE = 1
LSE oscillator clock used as RTC clock
LSI = 2
LSI oscillator clock used as RTC clock
HSE = 3
HSE oscillator clock divided by a programmable prescaler (selection through the RTCPRE[1:0] bits in the RCC clock control register (RCC_CR)) used as the RTC clock
Implementations§
Trait Implementations§
§impl Ord for Rtcsel
impl Ord for Rtcsel
§impl PartialOrd for Rtcsel
impl PartialOrd for Rtcsel
impl Copy for Rtcsel
impl Eq for Rtcsel
impl StructuralPartialEq for Rtcsel
Auto Trait Implementations§
impl Freeze for Rtcsel
impl RefUnwindSafe for Rtcsel
impl Send for Rtcsel
impl Sync for Rtcsel
impl Unpin for Rtcsel
impl UnwindSafe for Rtcsel
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