[][src]Struct stm32f1xx_hal::pac::ADC1

pub struct ADC1 { /* fields omitted */ }

Analog to digital converter

Methods

impl ADC1[src]

pub fn ptr() -> *const RegisterBlock[src]

Returns a pointer to the register block

Trait Implementations

impl Send for ADC1[src]

impl Deref for ADC1[src]

type Target = RegisterBlock

The resulting type after dereferencing.

impl Channel<ADC1> for PA0<Analog>[src]

type ID = u8

Channel ID type Read more

impl Channel<ADC1> for PA1<Analog>[src]

type ID = u8

Channel ID type Read more

impl Channel<ADC1> for PA2<Analog>[src]

type ID = u8

Channel ID type Read more

impl Channel<ADC1> for PA3<Analog>[src]

type ID = u8

Channel ID type Read more

impl Channel<ADC1> for PA4<Analog>[src]

type ID = u8

Channel ID type Read more

impl Channel<ADC1> for PA5<Analog>[src]

type ID = u8

Channel ID type Read more

impl Channel<ADC1> for PA6<Analog>[src]

type ID = u8

Channel ID type Read more

impl Channel<ADC1> for PA7<Analog>[src]

type ID = u8

Channel ID type Read more

impl Channel<ADC1> for PB0<Analog>[src]

type ID = u8

Channel ID type Read more

impl Channel<ADC1> for PB1<Analog>[src]

type ID = u8

Channel ID type Read more

impl Channel<ADC1> for PC0<Analog>[src]

type ID = u8

Channel ID type Read more

impl Channel<ADC1> for PC1<Analog>[src]

type ID = u8

Channel ID type Read more

impl Channel<ADC1> for PC2<Analog>[src]

type ID = u8

Channel ID type Read more

impl Channel<ADC1> for PC3<Analog>[src]

type ID = u8

Channel ID type Read more

impl Channel<ADC1> for PC4<Analog>[src]

type ID = u8

Channel ID type Read more

impl Channel<ADC1> for PC5<Analog>[src]

type ID = u8

Channel ID type Read more

impl<WORD, PIN> OneShot<ADC1, WORD, PIN> for Adc<ADC1> where
    WORD: From<u16>,
    PIN: Channel<ADC1, ID = u8>, 
[src]

type Error = ()

Error type returned by ADC methods

Auto Trait Implementations

impl !Sync for ADC1

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto 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, U> Into for T where
    U: From<T>, 
[src]

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

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

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

impl<T> Same for T

type Output = T

Should always be Self