Module stm32_hal2::adc[][src]

Based on stm32f3xx-hal. API for the ADC (Analog to Digital Converter)

Examples

Check out [examles/adc.rs].

It can be built for the STM32F3Discovery running cargo build --example adc --features=stm32f303xc

Modules

AdcChannel

https://github.com/rust-embedded/embedded-hal/issues/267 We are simulating an enum due to how the embedded-hal trait is set up.

Structs

Adc

Analog Digital Converter Peripheral

Enums

Align

ADC data register alignment

ClockMode

ADC CkMode

OperationMode

ADC operation mode

SampleTime

ADC sampling time