#[repr(u8)]pub enum Muxposselect {
Show 24 variants
Ain0 = 0,
Ain1 = 1,
Ain2 = 2,
Ain3 = 3,
Ain4 = 4,
Ain5 = 5,
Ain6 = 6,
Ain7 = 7,
Ain8 = 8,
Ain9 = 9,
Ain10 = 10,
Ain11 = 11,
Ain12 = 12,
Ain13 = 13,
Ain14 = 14,
Ain15 = 15,
Scaledcorevcc = 24,
Scaledvbat = 25,
Scalediovcc = 26,
Bandgap = 27,
Ptat = 28,
Ctat = 29,
Dac = 30,
Ptc = 31,
}
Expand description
Positive Mux Input Selection
Value on reset: 0
Variants§
Ain0 = 0
0: ADC AIN0 Pin
Ain1 = 1
1: ADC AIN1 Pin
Ain2 = 2
2: ADC AIN2 Pin
Ain3 = 3
3: ADC AIN3 Pin
Ain4 = 4
4: ADC AIN4 Pin
Ain5 = 5
5: ADC AIN5 Pin
Ain6 = 6
6: ADC AIN6 Pin
Ain7 = 7
7: ADC AIN7 Pin
Ain8 = 8
8: ADC AIN8 Pin
Ain9 = 9
9: ADC AIN9 Pin
Ain10 = 10
10: ADC AIN10 Pin
Ain11 = 11
11: ADC AIN11 Pin
Ain12 = 12
12: ADC AIN12 Pin
Ain13 = 13
13: ADC AIN13 Pin
Ain14 = 14
14: ADC AIN14 Pin
Ain15 = 15
15: ADC AIN15 Pin
Scaledcorevcc = 24
24: 1/4 Scaled Core Supply
Scaledvbat = 25
25: 1/4 Scaled VBAT Supply
Scalediovcc = 26
26: 1/4 Scaled I/O Supply
Bandgap = 27
27: Bandgap Voltage
Ptat = 28
28: Temperature Sensor TSENSP
Ctat = 29
29: Temperature Sensor TSENSC
Dac = 30
30: DAC Output
Ptc = 31
31: PTC output (only on ADC0)
Trait Implementations§
Source§impl Clone for Muxposselect
impl Clone for Muxposselect
Source§fn clone(&self) -> Muxposselect
fn clone(&self) -> Muxposselect
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 Muxposselect
impl Debug for Muxposselect
Source§impl From<Muxposselect> for u8
impl From<Muxposselect> for u8
Source§fn from(variant: Muxposselect) -> Self
fn from(variant: Muxposselect) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Muxposselect
impl PartialEq for Muxposselect
impl Copy for Muxposselect
impl Eq for Muxposselect
impl IsEnum for Muxposselect
impl StructuralPartialEq for Muxposselect
Auto Trait Implementations§
impl Freeze for Muxposselect
impl RefUnwindSafe for Muxposselect
impl Send for Muxposselect
impl Sync for Muxposselect
impl Unpin for Muxposselect
impl UnwindSafe for Muxposselect
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