embassy-stm32

Crates

git

Versions

stm32wba52cg

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.
ConfiguredSequence
An ADC with a pre-configured channel sequence for repeated DMA reads.
Dac
Internal dac channel.
Exten
Trigger edge stub.
InjectedAdcTrigger
RegularAdcTrigger
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.