Enum hts221::UpdateMode [] [src]

pub enum UpdateMode {
    Block,
    Continuous,
}

Values for block-update mode.

In default (continuous) mode, the lower and upper parts of the output registers are updated continuously. If it is not certain whether the read will be faster than output data rate, it is recommended to use block-update mode. In block-update mode, after the reading of the lower (upper) register part, the content of that output register is not updated until the upper (lower) part is read also. This feature prevents the reading of LSB and MSB related to different samples.

Variants

Trait Implementations

impl Copy for UpdateMode
[src]

impl Clone for UpdateMode
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for UpdateMode
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for UpdateMode
[src]

impl Debug for UpdateMode
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for UpdateMode

impl Sync for UpdateMode