embassy-stm32

Crates

git

Versions

stm32wba55ug

Flavors

Module adc

Module adc 

Source
Expand description

Analog to Digital Converter (ADC)

Modules§

adc4
vals

Structs§

Adc
Analog to Digital driver.
AnyAdcChannel
A type-erased channel for a given ADC instance.
CONTINUOUS
Continuous Trigger
Dac
Internal dac channel.
RingBufferedAdc
Temperature
Internal temperature channel.
Vbat
Internal battery voltage channel.
Vcore
Vcore channel.
VrefInt

Enums§

Resolution
SampleTime

Traits§

AdcChannel
ADC channel.
BasicAdcRegs
BasicInstance
DefaultInstance
InjectedTrigger
InjectedTrigger trigger trait
Instance
ADC instance.
RegularTrigger
RegularTrigger trigger trait
RxDma
RxDma DMA request trait
SpecialConverter

Functions§

resolution_to_max_count
Get the maximum reading value for this resolution.