#[repr(u8)]
pub enum ADC12SEL_A {
None,
Pllp,
System,
}
Expand description
ADCs clock source selection
Value on reset: 0
Variants
None
0: No clock selected for ADC
Pllp
1: PLL ‘P’ clock selected for ADC
System
2: System clock selected for ADC
Trait Implementations
sourceimpl Clone for ADC12SEL_A
impl Clone for ADC12SEL_A
sourcefn clone(&self) -> ADC12SEL_A
fn clone(&self) -> ADC12SEL_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 more
sourceimpl Debug for ADC12SEL_A
impl Debug for ADC12SEL_A
sourceimpl From<ADC12SEL_A> for u8
impl From<ADC12SEL_A> for u8
sourcefn from(variant: ADC12SEL_A) -> Self
fn from(variant: ADC12SEL_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<ADC12SEL_A> for ADC12SEL_A
impl PartialEq<ADC12SEL_A> for ADC12SEL_A
impl Copy for ADC12SEL_A
impl StructuralPartialEq for ADC12SEL_A
Auto Trait Implementations
impl RefUnwindSafe for ADC12SEL_A
impl Send for ADC12SEL_A
impl Sync for ADC12SEL_A
impl Unpin for ADC12SEL_A
impl UnwindSafe for ADC12SEL_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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