[][src]Enum ads129xx::Command

pub enum Command {
    WAKEUP,
    STANDBY,
    RESET,
    START,
    STOP,
    OFFSETCAL,
    RDATAC,
    SDATAC,
    RDATA,
    RREG,
    WREG,
}

SPI commands

Table 13 page 35 of specification.

Variants

WAKEUP

Wake-up from standby mode

STANDBY

Enter standy mode

RESET

Reset the device

START

Start or restart (synchronize) conversions

STOP

Stop conversion

OFFSETCAL

Channel offset calibration

RDATAC

Enable Read Data Continuous Mode (default @ powerup)

During this mode RREG commands are ignored.

SDATAC

Stop Read Data Continuously Mode

RDATA

Read data by command; supports multiple read back

RREG

Read registers starting at an address

WREG

Write registers starting at an address

Methods

impl Command[src]

pub fn word(self) -> u8[src]

Trait Implementations

impl Copy for Command[src]

impl Clone for Command[src]

Auto Trait Implementations

impl Unpin for Command

impl Send for Command

impl Sync for Command

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]