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
Fresh(i16)
The measurement is fresh.
NotFresh(i16)
The conversion result has not been updated since the last reading.
Trait Implementations
impl Debug for Measurement
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for Measurement
[src]
impl Clone for Measurement
[src]
fn clone(&self) -> Measurement
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more