[][src]Struct ads129xx::ads1292::data_stream::Ads1292DataStream

pub struct Ads1292DataStream<SPI, NCS, TIM, E, EO> where
    SPI: Transfer<u8, Error = E> + Write<u8, Error = E>,
    NCS: OutputPin<Error = EO>,
    TIM: CountDown
{ /* fields omitted */ }

Ads1292 Data stream. Used to read data continuously.

Methods

impl<SPI, NCS, TIM, E, EO> Ads1292DataStream<SPI, NCS, TIM, E, EO> where
    SPI: Transfer<u8, Error = E> + Write<u8, Error = E>,
    NCS: OutputPin<Error = EO>,
    TIM: CountDown
[src]

pub fn init(ads1292: Ads1292<SPI, NCS, TIM>) -> Result<Self, E, EO>[src]

Initialize stream, send RDATAC command

pub fn into_inner(self) -> Result<Ads1292<SPI, NCS, TIM>, E, EO>[src]

Send SDATAC command, then return wrapped ADS1292

Trait Implementations

impl<SPI, NCS, TIM, E, EO> Iterator for Ads1292DataStream<SPI, NCS, TIM, E, EO> where
    SPI: Transfer<u8, Error = E> + Write<u8, Error = E>,
    NCS: OutputPin<Error = EO>,
    TIM: CountDown
[src]

type Item = Result<Ads1292Data, E, EO>

The type of the elements being iterated over.

Auto Trait Implementations

impl<SPI, NCS, TIM, E, EO> Unpin for Ads1292DataStream<SPI, NCS, TIM, E, EO> where
    NCS: Unpin,
    SPI: Unpin,
    TIM: Unpin

impl<SPI, NCS, TIM, E, EO> Send for Ads1292DataStream<SPI, NCS, TIM, E, EO> where
    NCS: Send,
    SPI: Send,
    TIM: Send

impl<SPI, NCS, TIM, E, EO> Sync for Ads1292DataStream<SPI, NCS, TIM, E, EO> where
    NCS: Sync,
    SPI: Sync,
    TIM: Sync

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<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

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]