Enum mcp3425::Measurement [] [src]

pub enum Measurement {
    Fresh(i16),
    NotFresh(i16),
}

This enum wraps the measurements read in continuous conversion mode.

The two enum types indicate whether the measurement is fresh, or whether it has already been read previously (either because no measurement has been ready since the last reset, or because not enough time has passed since the last measurement).

See datasheet section 5.1.1 for more details.

Variants

The measurement is fresh.

The conversion result has not been updated since the last reading.

Trait Implementations

impl Debug for Measurement
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for Measurement
[src]

impl Clone for Measurement
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Measurement

impl Sync for Measurement