convert_t(9)
convert_t(9) π¦β¨
okay so bestie, welcome to the Kernel API Manual page for convert_t(9) β this is the little function that handles the whole temperature conversion and read situation, and we're gonna get into it π
π NAME π
Query the device for temperature conversion and read β that's the whole vibe, no cap.
π«Ά SYNOPSIS π«Ά
int convert_t (struct w1_slave *sl , struct therm_info *info );
literally that's the signature, keep it exactly like that π
πΈ ARGUMENTS πΈ
slβ pointer to the slave to read π¦infoβ pointer to a structure to store the read results πΈ
π₯ RETURN π₯
0 if success, -kernel error code otherwise π
bestie, note the exact -kernel wording β we do not be editing that.
π SEE ALSO π
the whole squad, assembled π
- Kernel file
./drivers/w1/slaves/w1_therm.cstruct w1_therm_family_converter(9)struct w1_therm_family_data(9)struct therm_info(9)reset_select_slave(9)read_scratchpad(9)write_scratchpad(9)copy_scratchpad(9)recall_eeprom(9)read_powermode(9)trigger_bulk_read(9)w1_therm_add_slave(9)w1_therm_remove_slave(9)w1_DS18B20_convert_temp(9)w1_DS18S20_convert_temp(9)w1_DS1825_convert_temp(9)device_family(9)bus_mutex_lock(9)check_family_data(9)bulk_read_support(9)conversion_time(9)temperature_from_RAM(9)int_to_short(9)w1_poll_completion(9)
okay bye bestie π
huge cute sign-off to the footer source/version line: ./drivers/w1/slaves, October 2026, and convert_t(9) πβ¨
π¦ 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