ms_sensors_ht_read_humidity(9)
β¨ NAME β¨
okay so this is the manual page for ms_sensors_ht_read_humidity(9) from the Kernel API Manual, and honestly? iconic.
ms_sensors_ht_read_humidity β Read humidity. periodt π
π SYNOPSIS π
int ms_sensors_ht_read_humidity (struct ms_ht_dev *dev_data , u32
*humidity );
π¦ ARGUMENTS π¦
dev_dataβ pointer to temperature/humidity device data. Like, it's your device's little data passport πhumidityβ pointer to humidity destination value. That's where the humidity number lands, bestie π―
π DESCRIPTION π
okay so this function will get the humidity ADC value from the device, check the CRC, and compute the temperature value. (yes, it says temperature in this humidity function β I'm just reading the page, no cap π). This function is used for HTU21 and MS8607 chipsets. slay.
π₯ RETURN π₯
0 on success, negative errno otherwise. simple, clean, no drama π
π SEE ALSO π
Kernel file ./drivers/iio/common/ms_sensors/ms_sensors_i2c.c β go peek if you're nosy, iykyk.
ms_sensors_reset(9)ms_sensors_read_prom_word(9)ms_sensors_convert_and_read(9)ms_sensors_crc_valid(9)ms_sensors_read_serial(9)ms_sensors_write_resolution(9)ms_sensors_show_battery_low(9)ms_sensors_show_heater(9)ms_sensors_write_heater(9)ms_sensors_ht_read_temperature(9)ms_sensors_tp_crc4(9)ms_sensors_tp_crc_valid_112(9)ms_sensors_tp_crc_valid_128(9)ms_sensors_tp_read_prom(9)ms_sensors_read_temp_and_pressure(9)
made with π from ./drivers/iio/common/ms_sensors, October 2026 β ms_sensors_ht_read_humidity(9) out π«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms