Enum atsaml21e16b::tcc0::ctrla::PRESCALERSELECT_A
source · #[repr(u8)]
pub enum PRESCALERSELECT_A {
DIV1,
DIV2,
DIV4,
DIV8,
DIV16,
DIV64,
DIV256,
DIV1024,
}
Expand description
Prescaler
Value on reset: 0
Variants§
DIV1
0: No division
DIV2
1: Divide by 2
DIV4
2: Divide by 4
DIV8
3: Divide by 8
DIV16
4: Divide by 16
DIV64
5: Divide by 64
DIV256
6: Divide by 256
DIV1024
7: Divide by 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.