sht15_calc_temp(9)
π sht15_calc_temp(9) β the Kernel API Manual cutie edition π
okay so bestie, welcome to the Kernel API Manual, section 9 π. This little page is all about sht15_calc_temp, and it's genuinely so straightforward you're gonna slay it.
β¨ NAME β¨
sht15_calc_temp β convert the raw reading to a temperature π₯
β¨ SYNOPSIS β¨
int sht15_calc_temp (struct sht15_data *data );
(yes, that space before the closing paren is canon, don't come for me π )
β¨ ARGUMENTS β¨
dataβ device state π«Ά
β¨ DESCRIPTION β¨
As per section 4.3 of the data sheet. no cap, that's literally the whole thing β the data sheet said it best, so we're citing it πβ¨
β¨ SEE ALSO β¨
Kernel file ./drivers/hwmon/sht15.c πΈ β and the whole friend group:
struct sht15_temppair(9)struct sht15_data(9)sht15_crc8(9)sht15_connection_reset(9)sht15_send_bit(9)sht15_transmission_start(9)sht15_send_byte(9)sht15_wait_for_response(9)sht15_send_cmd(9)sht15_soft_reset(9)sht15_ack(9)sht15_end_transmission(9)sht15_read_byte(9)sht15_send_status(9)sht15_update_status(9)sht15_measurement(9)sht15_update_measurements(9)sht15_calc_humid(9)sht15_status_show(9)sht15_status_store(9)sht15_temp_show(9)sht15_humidity_show(9)sht15_invalidate_voltage(9)
the way this page has like four lines of actual content and a whole entourage of SEE ALSOsβ¦ main character energy tbh π
okay that's the whole page, bestie β go forth and convert those raw readings πβ
mwah π β this came from the kernel source tree at ./drivers/hwmon, dated October 2026. version vibes: kernel API manual, section 9. periodt.
π¦ 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