Enum atsaml21e16b::adc::ctrlb::PRESCALERSELECT_A
source · #[repr(u8)]
pub enum PRESCALERSELECT_A {
DIV2,
DIV4,
DIV8,
DIV16,
DIV32,
DIV64,
DIV128,
DIV256,
}
Expand description
Prescaler Configuration
Value on reset: 0
Variants§
DIV2
0: Peripheral clock divided by 2
DIV4
1: Peripheral clock divided by 4
DIV8
2: Peripheral clock divided by 8
DIV16
3: Peripheral clock divided by 16
DIV32
4: Peripheral clock divided by 32
DIV64
5: Peripheral clock divided by 64
DIV128
6: Peripheral clock divided by 128
DIV256
7: Peripheral clock divided by 256
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.