#[repr(u8)]pub enum Rtcsrc {
NoClock = 0,
Lxtal = 1,
Irc40k = 2,
Hxtal = 3,
}
Expand description
RTC clock entry selection
Value on reset: 0
Variants§
NoClock = 0
0: No clock
Lxtal = 1
1: LXTAL oscillator clock used as RTC clock
Irc40k = 2
2: IRC40K oscillator clock used as RTC clock
Hxtal = 3
3: HXTAL oscillator / 32 used as RTC clock
Trait Implementations§
source§impl PartialEq for Rtcsrc
impl PartialEq for Rtcsrc
impl Copy for Rtcsrc
impl Eq for Rtcsrc
impl StructuralPartialEq for Rtcsrc
Auto Trait Implementations§
impl Freeze for Rtcsrc
impl RefUnwindSafe for Rtcsrc
impl Send for Rtcsrc
impl Sync for Rtcsrc
impl Unpin for Rtcsrc
impl UnwindSafe for Rtcsrc
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