Improve set_vref
docs
This commit is contained in:
parent
046778fc53
commit
b1f0d6320e
@ -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) {
|
||||
|
@ -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) {
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user