embassy-stm32

Crates

git

Versions

stm32l072rz

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

Enums§

Resolution
SampleTime
WatchdogChannels
This enum is passed into Adc::init_watchdog to specify the channels for the watchdog to monitor

Constants§

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.