embassy-stm32

Crates

git

Versions

stm32l162rd

Flavors

Module adc

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.
Calibration
Dac
Internal dac channel.
InterruptHandler
Interrupt handler.
State
Temperature
Internal temperature channel.
Vbat
Internal battery voltage channel.
Vcore
Vcore channel.
Vref
VrefInt

Enums§

AdcPowerMode
Prescaler
Resolution
SampleTime

Constants§

ADC_MAX
VDDA_CALIB_MV
VREF_INT

Traits§

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

Functions§

resolution_to_max_count
Get the maximum reading value for this resolution.