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
Block
Continuous
Trait Implementations
impl Copy for UpdateMode
[src]
impl Clone for UpdateMode
[src]
fn clone(&self) -> UpdateMode
[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
impl PartialEq for UpdateMode
[src]
fn eq(&self, __arg_0: &UpdateMode) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.