pub struct Temperature;Expand description
Internal temperature sensor channel.
Implementations§
Source§impl Temperature
impl Temperature
Sourcepub fn calibrated_value(&self) -> (u16, u16)
pub fn calibrated_value(&self) -> (u16, u16)
The temperature sensor factory calibration readings at 30 °C and 130 °C.
Auto Trait Implementations§
impl Freeze for Temperature
impl RefUnwindSafe for Temperature
impl Send for Temperature
impl Sync for Temperature
impl Unpin for Temperature
impl UnsafeUnpin for Temperature
impl UnwindSafe for Temperature
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