embassy-stm32

Crates

git

Versions

stm32l011k4

Flavors

Module adc

Source
Expand description

Analog to Digital Converter (ADC)

Modules§

vals

Structs§

Adc
Analog to Digital driver.
AnyAdcChannel
A type-erased channel for a given ADC instance.
InterruptHandler
Interrupt handler.
State
Temperature
Vref

Enums§

Resolution
SampleTime

Constants§

VDDA_CALIB_MV
VREF_INT

Traits§

AdcChannel
ADC channel.
Instance
ADC instance.
RxDma
RxDma DMA request trait

Functions§

resolution_to_max_count
Get the maximum reading value for this resolution.