pub struct VrefInt;Expand description
Internal voltage reference channel.
Implementations§
Source§impl VrefInt
impl VrefInt
Sourcepub fn calibrated_value(&self) -> u16
pub fn calibrated_value(&self) -> u16
The reading the internal reference gives when VDDA is at the factory calibration voltage
VREF_CALIB_MV, measured at production and stored in flash.
Auto Trait Implementations§
impl Forget for VrefInt
impl Freeze for VrefInt
impl Move for VrefInt
impl RefUnwindSafe for VrefInt
impl Send for VrefInt
impl Sync for VrefInt
impl Unpin for VrefInt
impl UnsafeUnpin for VrefInt
impl UnwindSafe for VrefInt
Blanket Implementations§
Source§impl<'d, C, T> AdcChannel<'d, T> for Cwhere
C: SpecialChannel,
T: Instance + ConverterFor<C>,
impl<'d, C, T> AdcChannel<'d, T> for Cwhere
C: SpecialChannel,
T: Instance + ConverterFor<C>,
Source§fn degrade_adc(self) -> BorrowedAdcChannel<'d, T>
fn degrade_adc(self) -> BorrowedAdcChannel<'d, T>
Type-erase the channel. The pin (if any) is configured for the ADC once, here.
Source§fn reborrow_adc<'a>(&'a mut self) -> BorrowedAdcChannel<'a, T>
fn reborrow_adc<'a>(&'a mut self) -> BorrowedAdcChannel<'a, T>
Borrow the channel, type-erased. The pin (if any) is configured for the ADC.
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more