@@ -85,7 +85,7 @@ impl Temperature {
85
85
/// ## Arguments
86
86
/// * `sample`: ADC sample taken on the [`Temperature`] channel.
87
87
/// * `vdda`: Analog reference voltage (vref+) when the temperature
88
- /// sample was taken, in volts.
88
+ /// sample was taken, in volts.
89
89
/// * `resolution`: Configured ADC resolution.
90
90
#[ inline( always) ]
91
91
pub fn temperature_to_degrees_centigrade (
@@ -110,7 +110,7 @@ impl Temperature {
110
110
/// ## Arguments
111
111
/// * `sample`: ADC sample taken on the [`Temperature`] channel.
112
112
/// * `vdda`: Analog reference voltage (vref+) when the temperature
113
- /// sample was taken, in millivolts.
113
+ /// sample was taken, in millivolts.
114
114
/// * `resolution`: Configured ADC resolution.
115
115
#[ inline( always) ]
116
116
pub fn temperature_to_degrees_centigrade_coarse (
@@ -1901,7 +1901,7 @@ macro_rules! adc {
1901
1901
/// * `channel` - channel to configure
1902
1902
/// * `sequence` - where in the sequence to sample the channel. Also called rank in some STM docs/code
1903
1903
/// * `sample_time` - how long to sample for. See datasheet and ref manual to work out how long you need\
1904
- /// to sample for at a given ADC clock frequency
1904
+ /// to sample for at a given ADC clock frequency
1905
1905
pub fn configure_channel<CHANNEL >( & mut self , _channel: & CHANNEL , sequence: config:: Sequence , sample_time: config:: SampleTime )
1906
1906
where
1907
1907
CHANNEL : Channel <stm32:: $adc_type, ID =u8 >
@@ -2122,6 +2122,7 @@ macro_rules! adc {
2122
2122
/// Enables the ADC clock, resets the peripheral (optionally), runs calibration and applies the supplied config
2123
2123
/// # Arguments
2124
2124
/// * `reset` - should a reset be performed. This is provided because on some devices multiple ADCs share the same common reset
2125
+ ///
2125
2126
/// TODO: fix needing SYST
2126
2127
#[ inline( always) ]
2127
2128
fn claim( self , cs: ClockSource , rcc: & Rcc , delay: & mut impl DelayUs <u8 >, reset: bool ) -> Adc <stm32:: $adc_type, Disabled > {
@@ -2407,7 +2408,7 @@ macro_rules! adc {
2407
2408
/// * `channel` - channel to configure
2408
2409
/// * `sequence` - where in the sequence to sample the channel. Also called rank in some STM docs/code
2409
2410
/// * `sample_time` - how long to sample for. See datasheet and ref manual to work out how long you need\
2410
- /// to sample for at a given ADC clock frequency
2411
+ /// to sample for at a given ADC clock frequency
2411
2412
#[ inline( always) ]
2412
2413
pub fn configure_channel<CHANNEL >( & mut self , channel: & CHANNEL , sequence: config:: Sequence , sample_time: config:: SampleTime )
2413
2414
where
0 commit comments