Enum atsamv71q20b::pwm0::pwm_ch_num::cmr::CPRESELECT_A
source · [−]#[repr(u8)]
pub enum CPRESELECT_A {
Show 13 variants
MCK,
MCK_DIV_2,
MCK_DIV_4,
MCK_DIV_8,
MCK_DIV_16,
MCK_DIV_32,
MCK_DIV_64,
MCK_DIV_128,
MCK_DIV_256,
MCK_DIV_512,
MCK_DIV_1024,
CLKA,
CLKB,
}
Expand description
Channel Pre-scaler
Value on reset: 0
Variants
MCK
0: Peripheral clock
MCK_DIV_2
1: Peripheral clock/2
MCK_DIV_4
2: Peripheral clock/4
MCK_DIV_8
3: Peripheral clock/8
MCK_DIV_16
4: Peripheral clock/16
MCK_DIV_32
5: Peripheral clock/32
MCK_DIV_64
6: Peripheral clock/64
MCK_DIV_128
7: Peripheral clock/128
MCK_DIV_256
8: Peripheral clock/256
MCK_DIV_512
9: Peripheral clock/512
MCK_DIV_1024
10: Peripheral clock/1024
CLKA
11: Clock A
CLKB
12: Clock B
Trait Implementations
sourceimpl Clone for CPRESELECT_A
impl Clone for CPRESELECT_A
sourcefn clone(&self) -> CPRESELECT_A
fn clone(&self) -> CPRESELECT_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CPRESELECT_A
impl Debug for CPRESELECT_A
sourceimpl From<CPRESELECT_A> for u8
impl From<CPRESELECT_A> for u8
sourcefn from(variant: CPRESELECT_A) -> Self
fn from(variant: CPRESELECT_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<CPRESELECT_A> for CPRESELECT_A
impl PartialEq<CPRESELECT_A> for CPRESELECT_A
sourcefn eq(&self, other: &CPRESELECT_A) -> bool
fn eq(&self, other: &CPRESELECT_A) -> bool
impl Copy for CPRESELECT_A
impl StructuralPartialEq for CPRESELECT_A
Auto Trait Implementations
impl RefUnwindSafe for CPRESELECT_A
impl Send for CPRESELECT_A
impl Sync for CPRESELECT_A
impl Unpin for CPRESELECT_A
impl UnwindSafe for CPRESELECT_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more