#[repr(u8)]pub enum SCANDATASRC_A {
CH0 = 0,
CH1 = 1,
CH2 = 2,
CH3 = 3,
CH4 = 4,
CH5 = 5,
CH6 = 6,
CH7 = 7,
}
Expand description
Scan Data Source
Value on reset: 0
Variants§
CH0 = 0
0: Single ended mode: SCANDATA result originates from ADCn_CH0. Differential mode: SCANDATA result originates from ADCn_CH0-ADCn_CH1
CH1 = 1
1: Single ended mode: SCANDATA result originates from ADCn_CH1. Differential mode: SCANDATA result originates from ADCn_CH2_ADCn_CH3
CH2 = 2
2: Single ended mode: SCANDATA result originates from ADCn_CH2. Differential mode: SCANDATA result originates from ADCn_CH4-ADCn_CH5
CH3 = 3
3: Single ended mode: SCANDATA result originates from ADCn_CH3. Differential mode: SCANDATA result originates from ADCn_CH6-ADCn_CH7
CH4 = 4
4: SCANDATA result originates from ADCn_CH4
CH5 = 5
5: SCANDATA result originates from ADCn_CH5
CH6 = 6
6: SCANDATA result originates from ADCn_CH6
CH7 = 7
7: SCANDATA result originates from ADCn_CH7
Trait Implementations§
Source§impl Clone for SCANDATASRC_A
impl Clone for SCANDATASRC_A
Source§fn clone(&self) -> SCANDATASRC_A
fn clone(&self) -> SCANDATASRC_A
Returns a duplicate 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 SCANDATASRC_A
impl Debug for SCANDATASRC_A
Source§impl From<SCANDATASRC_A> for u8
impl From<SCANDATASRC_A> for u8
Source§fn from(variant: SCANDATASRC_A) -> Self
fn from(variant: SCANDATASRC_A) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SCANDATASRC_A
impl PartialEq for SCANDATASRC_A
impl Copy for SCANDATASRC_A
impl StructuralPartialEq for SCANDATASRC_A
Auto Trait Implementations§
impl Freeze for SCANDATASRC_A
impl RefUnwindSafe for SCANDATASRC_A
impl Send for SCANDATASRC_A
impl Sync for SCANDATASRC_A
impl Unpin for SCANDATASRC_A
impl UnwindSafe for SCANDATASRC_A
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more