#[repr(u8)]pub enum Rtcselselect {
Ulp1k = 0,
Ulp32k = 1,
Xosc1k = 4,
Xosc32k = 5,
}
Expand description
RTC Clock Selection
Value on reset: 0
Variants§
Ulp1k = 0
0: 1.024kHz from 32kHz internal ULP oscillator
Ulp32k = 1
1: 32.768kHz from 32kHz internal ULP oscillator
Xosc1k = 4
4: 1.024kHz from 32.768kHz internal oscillator
Xosc32k = 5
5: 32.768kHz from 32.768kHz external crystal oscillator
Trait Implementations§
Source§impl Clone for Rtcselselect
impl Clone for Rtcselselect
Source§fn clone(&self) -> Rtcselselect
fn clone(&self) -> Rtcselselect
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 Rtcselselect
impl Debug for Rtcselselect
Source§impl From<Rtcselselect> for u8
impl From<Rtcselselect> for u8
Source§fn from(variant: Rtcselselect) -> Self
fn from(variant: Rtcselselect) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Rtcselselect
impl PartialEq for Rtcselselect
impl Copy for Rtcselselect
impl Eq for Rtcselselect
impl IsEnum for Rtcselselect
impl StructuralPartialEq for Rtcselselect
Auto Trait Implementations§
impl Freeze for Rtcselselect
impl RefUnwindSafe for Rtcselselect
impl Send for Rtcselselect
impl Sync for Rtcselselect
impl Unpin for Rtcselselect
impl UnwindSafe for Rtcselselect
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