[][src]Struct stm32l1xx_hal::adc::VTemp

pub struct VTemp;

Internal temperature sensor (ADC Channel 16)

Methods

impl VTemp[src]

pub fn new() -> Self[src]

Init a new VTemp

pub fn enable(&mut self, adc: &mut Adc)[src]

Enable the internal temperature sense

pub fn disable(&mut self, adc: &mut Adc)[src]

Disable the internal temperature sense.

Trait Implementations

impl Channel<Adc> for VTemp[src]

type ID = u8

Channel ID type Read more

Auto Trait Implementations

impl Unpin for VTemp

impl Send for VTemp

impl Sync for VTemp

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]