Enum stm32_metapac::rcc::vals::Rtcsel
#[repr(u8)]pub enum Rtcsel {
DISABLE = 0,
LSE = 1,
LSI = 2,
HSE_DIV32 = 3,
}
Variants§
DISABLE = 0
No clock used as RTC clock
LSE = 1
LSE used as RTC clock
LSI = 2
LSI used as RTC clock
HSE_DIV32 = 3
HSE divided by 32 used 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)