Enum atsaml21e16b::supc::bod12::PSELSELECT_A
source · #[repr(u8)]
pub enum PSELSELECT_A {
Show 16 variants
DIV2,
DIV4,
DIV8,
DIV16,
DIV32,
DIV64,
DIV128,
DIV256,
DIV512,
DIV1024,
DIV2048,
DIV4096,
DIV8192,
DIV16384,
DIV32768,
DIV65536,
}
Expand description
Prescaler Select
Value on reset: 0
Variants§
DIV2
0: Divide clock by 2
DIV4
1: Divide clock by 4
DIV8
2: Divide clock by 8
DIV16
3: Divide clock by 16
DIV32
4: Divide clock by 32
DIV64
5: Divide clock by 64
DIV128
6: Divide clock by 128
DIV256
7: Divide clock by 256
DIV512
8: Divide clock by 512
DIV1024
9: Divide clock by 1024
DIV2048
10: Divide clock by 2048
DIV4096
11: Divide clock by 4096
DIV8192
12: Divide clock by 8192
DIV16384
13: Divide clock by 16384
DIV32768
14: Divide clock by 32768
DIV65536
15: Divide clock by 65536
Trait Implementations§
source§impl Clone for PSELSELECT_A
impl Clone for PSELSELECT_A
source§fn clone(&self) -> PSELSELECT_A
fn clone(&self) -> PSELSELECT_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 PSELSELECT_A
impl Debug for PSELSELECT_A
source§impl From<PSELSELECT_A> for u8
impl From<PSELSELECT_A> for u8
source§fn from(variant: PSELSELECT_A) -> Self
fn from(variant: PSELSELECT_A) -> Self
Converts to this type from the input type.