[][src]Struct cc3220sf_hal::adc::Adc

pub struct Adc<ADC> { /* fields omitted */ }

Implementations

impl Adc<ADC>[src]

pub fn adc<ADCP>(adc: ADC, pin: &mut ADCP) -> Self where
    ADCP: AdcPin<ADC>, 
[src]

pub fn enable_adc(&mut self)[src]

pub fn disable_adc(&mut self)[src]

pub fn convert<ADCP>(&mut self, pin: &mut ADCP) -> u32 where
    ADCP: AdcPin<ADC>, 
[src]

Trait Implementations

impl<WORD, PIN> OneShot<ADC, WORD, PIN> for Adc<ADC> where
    WORD: From<u32>,
    PIN: Channel<ADC, ID = u8> + AdcPin<ADC>, 
[src]

type Error = ()

Error type returned by ADC methods

Auto Trait Implementations

impl<ADC> Send for Adc<ADC> where
    ADC: Send

impl<ADC> Sync for Adc<ADC> where
    ADC: Sync

impl<ADC> Unpin for Adc<ADC> where
    ADC: Unpin

Blanket Implementations

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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> 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.