[][src]Struct stm32h7xx_hal::adc::Temperature

pub struct Temperature;

Internal temperature sensor

Methods

impl Temperature[src]

pub fn new() -> Self[src]

pub fn enable(&mut self, _adc: &Adc<ADC3, Disabled>)[src]

Enables the internal voltage/sensor ADC must be disabled.

pub fn disable(&mut self, _adc: &Adc<ADC3, Disabled>)[src]

Disables the internal voltage/sdissor ADC must be disabled.

Trait Implementations

impl Channel<ADC3> for Temperature[src]

type ID = u8

Channel ID type Read more

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self