Struct stm32f3xx_hal::adc::Adc [−][src]
pub struct Adc<ADC> { /* fields omitted */ }Expand description
Analog Digital Converter Peripheral
Implementations
Init a new ADC
Enables the clock, performs a calibration and enables the ADC
Panics
If one of the following occurs:
- the clocksetting is not well defined.
- the clock was already enabled with a different setting
sets up adc in one shot mode for a single channel
Get access to the underlying register block.
Safety
This function is not memory unsafe per se, but does not guarantee anything about assumptions of invariants made in this implementation.
Changing specific options can lead to un-expected behavior and nothing is guaranteed.
Init a new ADC
Enables the clock, performs a calibration and enables the ADC
Panics
If one of the following occurs:
- the clocksetting is not well defined.
- the clock was already enabled with a different setting
sets up adc in one shot mode for a single channel
Get access to the underlying register block.
Safety
This function is not memory unsafe per se, but does not guarantee anything about assumptions of invariants made in this implementation.
Changing specific options can lead to un-expected behavior and nothing is guaranteed.
Init a new ADC
Enables the clock, performs a calibration and enables the ADC
Panics
If one of the following occurs:
- the clocksetting is not well defined.
- the clock was already enabled with a different setting
sets up adc in one shot mode for a single channel
Get access to the underlying register block.
Safety
This function is not memory unsafe per se, but does not guarantee anything about assumptions of invariants made in this implementation.
Changing specific options can lead to un-expected behavior and nothing is guaranteed.
Init a new ADC
Enables the clock, performs a calibration and enables the ADC
Panics
If one of the following occurs:
- the clocksetting is not well defined.
- the clock was already enabled with a different setting
sets up adc in one shot mode for a single channel
Get access to the underlying register block.
Safety
This function is not memory unsafe per se, but does not guarantee anything about assumptions of invariants made in this implementation.
Changing specific options can lead to un-expected behavior and nothing is guaranteed.