#[repr(u8)]pub enum PRESCALERSELECT_A {
OFF = 0,
DIV1 = 1,
DIV2 = 2,
DIV4 = 3,
DIV8 = 4,
DIV16 = 5,
DIV32 = 6,
DIV64 = 7,
DIV128 = 8,
DIV256 = 9,
DIV512 = 10,
DIV1024 = 11,
}
Expand description
Prescaler
Value on reset: 0
Variants§
OFF = 0
0: CLK_RTC_CNT = GCLK_RTC/1
DIV1 = 1
1: CLK_RTC_CNT = GCLK_RTC/1
DIV2 = 2
2: CLK_RTC_CNT = GCLK_RTC/2
DIV4 = 3
3: CLK_RTC_CNT = GCLK_RTC/4
DIV8 = 4
4: CLK_RTC_CNT = GCLK_RTC/8
DIV16 = 5
5: CLK_RTC_CNT = GCLK_RTC/16
DIV32 = 6
6: CLK_RTC_CNT = GCLK_RTC/32
DIV64 = 7
7: CLK_RTC_CNT = GCLK_RTC/64
DIV128 = 8
8: CLK_RTC_CNT = GCLK_RTC/128
DIV256 = 9
9: CLK_RTC_CNT = GCLK_RTC/256
DIV512 = 10
10: CLK_RTC_CNT = GCLK_RTC/512
DIV1024 = 11
11: CLK_RTC_CNT = GCLK_RTC/1024
Trait Implementations§
source§impl Clone for PRESCALERSELECT_A
impl Clone for PRESCALERSELECT_A
source§fn clone(&self) -> PRESCALERSELECT_A
fn clone(&self) -> PRESCALERSELECT_A
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 PRESCALERSELECT_A
impl Debug for PRESCALERSELECT_A
source§impl From<PRESCALERSELECT_A> for u8
impl From<PRESCALERSELECT_A> for u8
source§fn from(variant: PRESCALERSELECT_A) -> Self
fn from(variant: PRESCALERSELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for PRESCALERSELECT_A
impl PartialEq for PRESCALERSELECT_A
source§fn eq(&self, other: &PRESCALERSELECT_A) -> bool
fn eq(&self, other: &PRESCALERSELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PRESCALERSELECT_A
impl Eq for PRESCALERSELECT_A
impl StructuralPartialEq for PRESCALERSELECT_A
Auto Trait Implementations§
impl Freeze for PRESCALERSELECT_A
impl RefUnwindSafe for PRESCALERSELECT_A
impl Send for PRESCALERSELECT_A
impl Sync for PRESCALERSELECT_A
impl Unpin for PRESCALERSELECT_A
impl UnwindSafe for PRESCALERSELECT_A
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