#[repr(u8)]pub enum RtcWakeupClockSource {
RtcClkDiv16 = 0,
RtcClkDiv8 = 1,
RtcClkDiv4 = 2,
RtcClkDiv2 = 3,
CkSpre = 4,
}Variants§
RtcClkDiv16 = 0
RTC/16 clock is selected
RtcClkDiv8 = 1
RTC/8 clock is selected
RtcClkDiv4 = 2
RTC/4 clock is selected
RtcClkDiv2 = 3
RTC/2 clock is selected
CkSpre = 4
ck_spre (usually 1 Hz) clock is selected. Handling of the 2 ** 16 bit is done if values larger than 2 ** 16 are passed to the timer start function.
Trait Implementations§
Source§impl Clone for RtcWakeupClockSource
impl Clone for RtcWakeupClockSource
Source§fn clone(&self) -> RtcWakeupClockSource
fn clone(&self) -> RtcWakeupClockSource
Returns a duplicate 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 RtcWakeupClockSource
impl Debug for RtcWakeupClockSource
Source§impl PartialEq for RtcWakeupClockSource
impl PartialEq for RtcWakeupClockSource
impl Copy for RtcWakeupClockSource
impl StructuralPartialEq for RtcWakeupClockSource
Auto Trait Implementations§
impl Freeze for RtcWakeupClockSource
impl RefUnwindSafe for RtcWakeupClockSource
impl Send for RtcWakeupClockSource
impl Sync for RtcWakeupClockSource
impl Unpin for RtcWakeupClockSource
impl UnwindSafe for RtcWakeupClockSource
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