pub struct Status(_);
Expand description

Status register

Implementations

Get the reset value of the ctrl_meas register.

Example
use bme280_multibus::Status;

assert_eq!(Status::reset(), Status::default());

Measuring field.

Automatically set to true whenever a conversion is running and back to false when the results have been transferred to the data registers.

Example
assert!(!bme280_multibus::Status::reset().measuring());

im_update field.

Automatically set to true when the NVM data are being copied to image registers and back to false when the copying is done. The data is copied at power-on-reset and before every conversion.

Example
assert!(!bme280_multibus::Status::reset().im_update());

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.