Enum atsame70n21b::pwm0::clk::PREASELECT_A
source · #[repr(u8)]pub enum PREASELECT_A {
CLK = 0,
CLK_DIV2 = 1,
CLK_DIV4 = 2,
CLK_DIV8 = 3,
CLK_DIV16 = 4,
CLK_DIV32 = 5,
CLK_DIV64 = 6,
CLK_DIV128 = 7,
CLK_DIV256 = 8,
CLK_DIV512 = 9,
CLK_DIV1024 = 10,
}
Expand description
CLKA Source Clock Selection
Value on reset: 0
Variants§
CLK = 0
0: Peripheral clock
CLK_DIV2 = 1
1: Peripheral clock/2
CLK_DIV4 = 2
2: Peripheral clock/4
CLK_DIV8 = 3
3: Peripheral clock/8
CLK_DIV16 = 4
4: Peripheral clock/16
CLK_DIV32 = 5
5: Peripheral clock/32
CLK_DIV64 = 6
6: Peripheral clock/64
CLK_DIV128 = 7
7: Peripheral clock/128
CLK_DIV256 = 8
8: Peripheral clock/256
CLK_DIV512 = 9
9: Peripheral clock/512
CLK_DIV1024 = 10
10: Peripheral clock/1024
Trait Implementations§
source§impl Clone for PREASELECT_A
impl Clone for PREASELECT_A
source§fn clone(&self) -> PREASELECT_A
fn clone(&self) -> PREASELECT_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 PREASELECT_A
impl Debug for PREASELECT_A
source§impl From<PREASELECT_A> for u8
impl From<PREASELECT_A> for u8
source§fn from(variant: PREASELECT_A) -> Self
fn from(variant: PREASELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for PREASELECT_A
impl PartialEq for PREASELECT_A
source§fn eq(&self, other: &PREASELECT_A) -> bool
fn eq(&self, other: &PREASELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PREASELECT_A
impl Eq for PREASELECT_A
impl StructuralEq for PREASELECT_A
impl StructuralPartialEq for PREASELECT_A
Auto Trait Implementations§
impl RefUnwindSafe for PREASELECT_A
impl Send for PREASELECT_A
impl Sync for PREASELECT_A
impl Unpin for PREASELECT_A
impl UnwindSafe for PREASELECT_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