pub enum InputChannel {
Single0 = 8,
Single1 = 9,
Single2 = 10,
Single3 = 11,
Diff01 = 0,
Diff10 = 1,
Diff23 = 2,
Diff32 = 3,
}
Expand description
The ADC input channel
Variants§
Single0 = 8
Single channel 0
Single1 = 9
Single channel 1
Single2 = 10
Single channel 2
Single3 = 11
Single channel 3
Diff01 = 0
Pseudo-differential channel (IN+ = CH0, IN- = CH1)
Diff10 = 1
Pseudo-differential channel (IN+ = CH1, IN- = CH0)
Diff23 = 2
Pseudo-differential channel (IN+ = CH2, IN- = CH3)
Diff32 = 3
Pseudo-differential channel (IN+ = CH3, IN- = CH2)
Trait Implementations§
Source§impl Clone for InputChannel
impl Clone for InputChannel
Source§fn clone(&self) -> InputChannel
fn clone(&self) -> InputChannel
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 InputChannel
impl Debug for InputChannel
Source§impl Format for InputChannel
impl Format for InputChannel
Source§impl PartialEq for InputChannel
impl PartialEq for InputChannel
impl Copy for InputChannel
impl Eq for InputChannel
impl StructuralPartialEq for InputChannel
Auto Trait Implementations§
impl Freeze for InputChannel
impl RefUnwindSafe for InputChannel
impl Send for InputChannel
impl Sync for InputChannel
impl Unpin for InputChannel
impl UnwindSafe for InputChannel
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