Expand description
Analog to Digital Converter peripheral control.
Modules§
- attenuation
- continuous
- Continuous ADC module Example: continuously reading value from a pin
- oneshot
- One-shot ADC module Example: reading a value form a pin and printing it on the terminal
Structs§
- ADC1
- ADC2
- ADCCH0
- ADCCH1
- ADCCH2
- ADCCH3
- ADCCH4
- ADCCH5
- ADCCH6
- ADCCH7
- ADCCH8
- ADCCH9
- ADCU1
- ADCU2
- AdcChannels
Array - AdcCont
Config - ADC continuous mode driver configurations. The default configuration is:
- AdcCont
Driver - AdcMeasurement
- Attenuated
- Set ADC attenuation level Example: let pin = Attenuated::db12(peripherals.pins.gpio0);
- Chained
AdcChannels - Empty
AdcChannels
Enums§
- Resolution
- The sampling/readout resolution of the ADC
Traits§
- Adc
- A trait for ADC peripherals
- AdcChannel
- A trait designating the ADC channel
- AdcChannels
- AdcUnit
- A trait designating the ADC Unit