#[repr(u8)]pub enum ChSel {
Show 17 variants
Ain0 = 0,
Ain1 = 1,
Ain2 = 2,
Ain3 = 3,
Ain4 = 4,
Ain5 = 5,
Ain6 = 6,
Ain7 = 7,
VcoreA = 8,
VcoreB = 9,
Vrxout = 10,
Vtxout = 11,
VddA = 12,
VddB = 13,
Vddio = 14,
Vddioh = 15,
VregI = 16,
}Expand description
ADC Channel Select
Value on reset: 0
Variants§
Ain0 = 0
0: 0
Ain1 = 1
1: 1
Ain2 = 2
2: 10
Ain3 = 3
3: 11
Ain4 = 4
4: 100
Ain5 = 5
5: 101
Ain6 = 6
6: 110
Ain7 = 7
7: 111
VcoreA = 8
8: 1000
VcoreB = 9
9: 1001
Vrxout = 10
10: 1010
Vtxout = 11
11: 1011
VddA = 12
12: 1100
VddB = 13
13: VddB/4
Vddio = 14
14: Vddio/4
Vddioh = 15
15: Vddioh/4
VregI = 16
16: VregI/4
Trait Implementations§
impl Copy for ChSel
impl Eq for ChSel
impl IsEnum for ChSel
impl StructuralPartialEq for ChSel
Auto Trait Implementations§
impl Freeze for ChSel
impl RefUnwindSafe for ChSel
impl Send for ChSel
impl Sync for ChSel
impl Unpin for ChSel
impl UnwindSafe for ChSel
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