Enum RtcClockSource
#[repr(u8)]pub enum RtcClockSource {
DISABLE = 0,
LSE = 1,
LSI = 2,
HSE_DIV_RTCPRE = 3,
}
Variants§
DISABLE = 0
no clock (default after Backup domain reset)
LSE = 1
LSE selected as RTC clock
LSI = 2
LSI selected as RTC clock
HSE_DIV_RTCPRE = 3
HSE divided by RTCPRE value selected as 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