#[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§
source§impl Clone for INPUT8TO15SEL_A
impl Clone for INPUT8TO15SEL_A
source§fn clone(&self) -> INPUT8TO15SEL_A
fn clone(&self) -> INPUT8TO15SEL_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 INPUT8TO15SEL_A
impl Debug for INPUT8TO15SEL_A
source§impl From<INPUT8TO15SEL_A> for u8
impl From<INPUT8TO15SEL_A> for u8
source§fn from(variant: INPUT8TO15SEL_A) -> Self
fn from(variant: INPUT8TO15SEL_A) -> Self
Converts to this type from the input type.
source§impl PartialEq<INPUT8TO15SEL_A> for INPUT8TO15SEL_A
impl PartialEq<INPUT8TO15SEL_A> for INPUT8TO15SEL_A
source§fn eq(&self, other: &INPUT8TO15SEL_A) -> bool
fn eq(&self, other: &INPUT8TO15SEL_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.