#[repr(u8)]
pub enum INPUT2NEGSEL_A {
INPUT1,
INPUT3,
INPUT5,
INPUT7,
}
Expand description
Negative Input Select Register for ADCn_INPUT2 in Differential Scan Mode
Value on reset: 1
Variants§
INPUT1
0: Selects ADCn_INPUT1 as negative channel input
INPUT3
1: Selects ADCn_INPUT3 as negative channel input
INPUT5
2: Selects ADCn_INPUT5 as negative channel input
INPUT7
3: Selects ADCn_INPUT7 as negative channel input
Trait Implementations§
source§impl Clone for INPUT2NEGSEL_A
impl Clone for INPUT2NEGSEL_A
source§fn clone(&self) -> INPUT2NEGSEL_A
fn clone(&self) -> INPUT2NEGSEL_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 INPUT2NEGSEL_A
impl Debug for INPUT2NEGSEL_A
source§impl From<INPUT2NEGSEL_A> for u8
impl From<INPUT2NEGSEL_A> for u8
source§fn from(variant: INPUT2NEGSEL_A) -> Self
fn from(variant: INPUT2NEGSEL_A) -> Self
Converts to this type from the input type.
source§impl PartialEq<INPUT2NEGSEL_A> for INPUT2NEGSEL_A
impl PartialEq<INPUT2NEGSEL_A> for INPUT2NEGSEL_A
source§fn eq(&self, other: &INPUT2NEGSEL_A) -> bool
fn eq(&self, other: &INPUT2NEGSEL_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.