#[repr(u8)]
pub enum PRESCALER_A {
DIV1,
DIV2,
DIV4,
DIV8,
DIV16,
DIV32,
DIV64,
DIV128,
DIV256,
DIV512,
DIV1024,
}
Expand description
Prescaler
Value on reset: 0
Variants
DIV1
0: CLK_RTC_CNT = GCLK_RTC/1
DIV2
1: CLK_RTC_CNT = GCLK_RTC/2
DIV4
2: CLK_RTC_CNT = GCLK_RTC/4
DIV8
3: CLK_RTC_CNT = GCLK_RTC/8
DIV16
4: CLK_RTC_CNT = GCLK_RTC/16
DIV32
5: CLK_RTC_CNT = GCLK_RTC/32
DIV64
6: CLK_RTC_CNT = GCLK_RTC/64
DIV128
7: CLK_RTC_CNT = GCLK_RTC/128
DIV256
8: CLK_RTC_CNT = GCLK_RTC/256
DIV512
9: CLK_RTC_CNT = GCLK_RTC/512
DIV1024
10: CLK_RTC_CNT = GCLK_RTC/1024
Trait Implementations
sourceimpl Clone for PRESCALER_A
impl Clone for PRESCALER_A
sourcefn clone(&self) -> PRESCALER_A
fn clone(&self) -> PRESCALER_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PRESCALER_A
impl Debug for PRESCALER_A
sourceimpl From<PRESCALER_A> for u8
impl From<PRESCALER_A> for u8
sourcefn from(variant: PRESCALER_A) -> Self
fn from(variant: PRESCALER_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<PRESCALER_A> for PRESCALER_A
impl PartialEq<PRESCALER_A> for PRESCALER_A
sourcefn eq(&self, other: &PRESCALER_A) -> bool
fn eq(&self, other: &PRESCALER_A) -> bool
impl Copy for PRESCALER_A
impl StructuralPartialEq for PRESCALER_A
Auto Trait Implementations
impl RefUnwindSafe for PRESCALER_A
impl Send for PRESCALER_A
impl Sync for PRESCALER_A
impl Unpin for PRESCALER_A
impl UnwindSafe for PRESCALER_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more