Skip to main content

pamoja_bme280_ctrl_hum_from_bits

Function pamoja_bme280_ctrl_hum_from_bits 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_bme280_ctrl_hum_from_bits(bits: u8) -> u8
Expand description

Parses a BME280 ctrl_hum register value.

§Arguments

  • bits - the register value.

§Returns

The humidity oversampling code it holds.