Improve set_vref docs

This commit is contained in:
chemicstry 2022-07-27 01:30:32 +03:00
parent 046778fc53
commit b1f0d6320e
3 changed files with 3 additions and 3 deletions

View File

@ -196,7 +196,7 @@ where
self.resolution = resolution;
}
/// Set VREF, which is used for [to_millivolts()] conversion.
/// Set VREF value in millivolts. This value is used for [to_millivolts()] sample conversion.
///
/// Use this if you have a known precise VREF (VDDA) pin reference voltage.
pub fn set_vref(&mut self, vref: u32) {

View File

@ -318,7 +318,7 @@ impl<'d, T: Instance> Adc<'d, T> {
self.resolution = resolution;
}
/// Set VREF used for [to_millivolts()] conversion.
/// Set VREF value in millivolts. This value is used for [to_millivolts()] sample conversion.
///
/// Use this if you have a known precise VREF (VDDA) pin reference voltage.
pub fn set_vref(&mut self, vref: u32) {

View File

@ -467,7 +467,7 @@ impl<'d, T: Instance + crate::rcc::RccPeripheral> Adc<'d, T> {
self.resolution = resolution;
}
/// Set VREF used for [to_millivolts()] conversion.
/// Set VREF value in millivolts. This value is used for [to_millivolts()] sample conversion.
///
/// Use this if you have a known precise VREF (VDDA) pin reference voltage.
pub fn set_vref(&mut self, vref: u32) {