ms_sensors_h..._temperature(9)
okay bestie, welcome to the ms_sensors_h..._temperature(9) page from the Kernel API Manual. Weβre about to read a temperature together and honestly itβs giving main-character energy. πβ¨
π NAME π
ms_sensors_ht_read_temperature - Read temperature
β¨ SYNOPSIS β¨
int ms_sensors_ht_read_temperature (struct ms_ht_dev *dev_data , s32
*temperature );
πΈ ARGUMENTS πΈ
dev_dataβ pointer to temperature/humidity device datatemperatureβ pointer to temperature destination value
π¦ DESCRIPTION π¦
Okay so this function will literally get the temperature ADC value from the device, check the CRC, and compute the temperature value. Itβs the one doing the work for TSYS02D, HTU21 and MS8607 chipsets. Periodt. π
π₯ RETURN π₯
Returns 0 on success, and negative errno otherwise. Slay when itβs zero, sigh when itβs negative. π
π SEE ALSO π
Go snoop these next, bestie β iykyk:
- Kernel file
./drivers/iio/common/ms_sensors/ms_sensors_i2c.c 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_humidity(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)
This lil pageβs source/version footer points to ./drivers/iio/common/ms_sensors, dated October 2026, and itβs all about ms_sensors_h..._temperature(9). Catch you in the next read, bestie β mwah ππ
π¦ 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