Expand description
Analog to Digital Converter (ADC)
Modules§
Structs§
- Adc
- Analog to Digital driver.
- AnyAdc
Channel - A type-erased channel for a given ADC instance.
- Temperature
- Internal temperature channel.
- Vbat
- Internal battery voltage channel.
- VrefInt
- Internal voltage reference channel.
Enums§
- Averaging
- Number of samples used for averaging.
- Resolution
- Sample
Time
Constants§
- VREF_
CALIB_ MV - VREF voltage used for factory calibration of VREFINTCAL register.
- VREF_
DEFAULT_ MV - Default VREF voltage used for sample conversion to millivolts.
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.