Struct hts221::device::HumidityOut
[−]
[src]
pub struct HumidityOut(_);
Combination of HUMIDITY_OUT_L and HUMIDITY_OUT_H registers.
Methods
impl HumidityOut
[src]
pub fn new<Comm>(comm: &mut Comm) -> Result<Self, Comm::Error> where
Comm: I2C,
[src]
Comm: I2C,
Blocking read of both registers over comm
. Stores the signed 16-bit value created from
combining the registers.
pub fn value(&self) -> i16
[src]
Returns the raw humidity sample value.