#[repr(u8)]
pub enum ADCH_A {
ADCH_0,
ADCH_1,
ADCH_2,
ADCH_3,
ADCH_4,
ADCH_5,
ADCH_6,
ADCH_7,
ADCH_8,
ADCH_9,
ADCH_30,
ADCH_31,
}
Expand description
Input channel select
Value on reset: 0
Variants
ADCH_0
0: Select CH0A or CH0B or CH0A/CH0B pair.
ADCH_1
1: Select CH1A or CH1B or CH1A/CH1B pair.
ADCH_2
2: Select CH2A or CH2B or CH2A/CH2B pair.
ADCH_3
3: Select CH3A or CH3B or CH3A/CH3B pair.
ADCH_4
4: Select corresponding channel CHnA or CHnB or CHnA/CHnB pair.
ADCH_5
5: Select corresponding channel CHnA or CHnB or CHnA/CHnB pair.
ADCH_6
6: Select corresponding channel CHnA or CHnB or CHnA/CHnB pair.
ADCH_7
7: Select corresponding channel CHnA or CHnB or CHnA/CHnB pair.
ADCH_8
8: Select corresponding channel CHnA or CHnB or CHnA/CHnB pair.
ADCH_9
9: Select corresponding channel CHnA or CHnB or CHnA/CHnB pair.
ADCH_30
30: Select CH30A or CH30B or CH30A/CH30B pair.
ADCH_31
31: Select CH31A or CH31B or CH31A/CH31B pair.
Trait Implementations
impl Copy for ADCH_A
impl StructuralPartialEq for ADCH_A
Auto Trait Implementations
impl RefUnwindSafe for ADCH_A
impl Send for ADCH_A
impl Sync for ADCH_A
impl Unpin for ADCH_A
impl UnwindSafe for ADCH_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