#[repr(u8)]pub enum WUCKSEL {
Div16 = 0,
Div8 = 1,
Div4 = 2,
Div2 = 3,
ClockSpare = 4,
ClockSpareWithOffset = 6,
}
Expand description
Wakeup clock selection
Value on reset: 0
Variants§
Div16 = 0
0: RTC/16 clock is selected
Div8 = 1
1: RTC/8 clock is selected
Div4 = 2
2: RTC/4 clock is selected
Div2 = 3
3: RTC/2 clock is selected
ClockSpare = 4
4: ck_spre (usually 1 Hz) clock is selected
ClockSpareWithOffset = 6
6: ck_spre (usually 1 Hz) clock is selected and 2^16 is added to the WUT counter value
Trait Implementations§
impl Copy for WUCKSEL
impl Eq for WUCKSEL
impl IsEnum for WUCKSEL
impl StructuralPartialEq for WUCKSEL
Auto Trait Implementations§
impl Freeze for WUCKSEL
impl RefUnwindSafe for WUCKSEL
impl Send for WUCKSEL
impl Sync for WUCKSEL
impl Unpin for WUCKSEL
impl UnwindSafe for WUCKSEL
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