#[repr(u8)]
pub enum INPUT8TO15SEL_A {
Show 18 variants
APORT0CH0TO7,
APORT0CH8TO15,
APORT1CH0TO7,
APORT1CH8TO15,
APORT1CH16TO23,
APORT1CH24TO31,
APORT2CH0TO7,
APORT2CH8TO15,
APORT2CH16TO23,
APORT2CH24TO31,
APORT3CH0TO7,
APORT3CH8TO15,
APORT3CH16TO23,
APORT3CH24TO31,
APORT4CH0TO7,
APORT4CH8TO15,
APORT4CH16TO23,
APORT4CH24TO31,
}
Expand description
Inputs Chosen for ADCn_INPUT8-ADCn_INPUT15 as Referred in SCANMASK
Value on reset: 0
Variants
APORT0CH0TO7
0: 0
APORT0CH8TO15
1: 1
APORT1CH0TO7
4: 100
APORT1CH8TO15
5: 101
APORT1CH16TO23
6: 110
APORT1CH24TO31
7: 111
APORT2CH0TO7
8: 1000
APORT2CH8TO15
9: 1001
APORT2CH16TO23
10: 1010
APORT2CH24TO31
11: 1011
APORT3CH0TO7
12: 1100
APORT3CH8TO15
13: 1101
APORT3CH16TO23
14: 1110
APORT3CH24TO31
15: 1111
APORT4CH0TO7
16: 10000
APORT4CH8TO15
17: 10001
APORT4CH16TO23
18: 10010
APORT4CH24TO31
19: 10011
Trait Implementations
sourceimpl Clone for INPUT8TO15SEL_A
impl Clone for INPUT8TO15SEL_A
sourcefn clone(&self) -> INPUT8TO15SEL_A
fn clone(&self) -> INPUT8TO15SEL_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 INPUT8TO15SEL_A
impl Debug for INPUT8TO15SEL_A
sourceimpl From<INPUT8TO15SEL_A> for u8
impl From<INPUT8TO15SEL_A> for u8
sourcefn from(variant: INPUT8TO15SEL_A) -> Self
fn from(variant: INPUT8TO15SEL_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<INPUT8TO15SEL_A> for INPUT8TO15SEL_A
impl PartialEq<INPUT8TO15SEL_A> for INPUT8TO15SEL_A
impl Copy for INPUT8TO15SEL_A
impl StructuralPartialEq for INPUT8TO15SEL_A
Auto Trait Implementations
impl RefUnwindSafe for INPUT8TO15SEL_A
impl Send for INPUT8TO15SEL_A
impl Sync for INPUT8TO15SEL_A
impl Unpin for INPUT8TO15SEL_A
impl UnwindSafe for INPUT8TO15SEL_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