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§
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
 - Temperature
Channel  - Implemented for ADCs that have a Temperature channel
 - VBat
Channel  - Implemented for ADCs that have a VBat channel
 - Vref
Channel  - Implemented for ADCs that have a Vref channel
 
Functions§
- resolution_
to_ max_ count  - Get the maximum reading value for this resolution.