sht15_update_status(9)
β¨ sht15_update_status β¨
okay so bestie, welcome to the sht15_update_status page π
this is a little gem straight out of the Kernel API Manual, and honestly? it's giving "small function, big responsibilities." periodt.
πΈ SYNOPSIS πΈ
int sht15_update_status (struct sht15_data *data );
like, that's the whole signature. one argument, one int coming back at you π«Ά
π ARGUMENTS π
dataβ the device-instance-specific data π¦ that's your lil' bundle of joy holding everything this particular SHT15 device needs to know about itself. never lose it, bestie.
π DESCRIPTION π
so what does it actually do? it grabs an updated status register from the device β but only if the one you've got is too old π. no stale status registers in this house.
and if you want the receipts, the whole thing is laid out in figure 15 and table 5 of the datasheet π β that's literally the source of truth, go read it, iykyk.
π SEE ALSO π
okay this section is a whole friend group, and you will be meeting all of them π«Ά the kernel file lives at ./drivers/hwmon/sht15.c:
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_measurement(9)sht15_update_measurements(9)sht15_calc_temp(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)
π reminder bestie: this is kernel API territory, so treat every one of those functions with main-character respect β this is not the place to be guessing at behaviour.
anyway, that's the tea π this page came to you fresh from ./drivers/hwmon, dated October 2026 β¨ mwah, go read your datasheets, stan kernel docs, and slay responsibly ππ
π¦ 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