Enum stm32wlxx_hal::adc::Ch
source · #[repr(u8)]pub enum Ch {
Show 16 variants
In0 = 0,
In1 = 1,
In2 = 2,
In3 = 3,
In4 = 4,
In5 = 5,
In6 = 6,
In7 = 7,
In8 = 8,
In9 = 9,
In10 = 10,
In11 = 11,
Vts = 12,
Vref = 13,
Vbat = 14,
Dac = 17,
}
Expand description
ADC channels
Variants§
In0 = 0
ADC input 0.
Connected to B13
.
In1 = 1
ADC input 1.
Connected to B14
.
In2 = 2
ADC input 2.
Connected to B3
.
In3 = 3
ADC input 3.
Connected to B4
.
In4 = 4
ADC input 4.
Connected to B2
.
In5 = 5
ADC input 5.
Connected to B1
.
In6 = 6
ADC input 6.
Connected to A10
.
In7 = 7
ADC input 7.
Connected to A11
.
In8 = 8
ADC input 8.
Connected to A12
.
In9 = 9
ADC input 9.
Connected to A13
.
In10 = 10
ADC input 10.
Connected to A14
.
In11 = 11
ADC input 11.
Connected to A15
.
Vts = 12
Junction temperature sensor.
Vref = 13
Internal voltage reference.
Vbat = 14
Battery voltage divided by 3.
Dac = 17
Digital to analog converter output.
The DAC outputs to this internal pin only when configured to output to chip peripherals.
Implementations§
Trait Implementations§
impl Copy for Ch
impl Eq for Ch
impl StructuralEq for Ch
impl StructuralPartialEq for Ch
Auto Trait Implementations§
impl RefUnwindSafe for Ch
impl Send for Ch
impl Sync for Ch
impl Unpin for Ch
impl UnwindSafe for Ch
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