ti_bandgap_read_temperature(9)
β¨ ti_bandgap_read_temperature(9) β¨
okay so bestie, welcome to the Kernel API Manual entry for ti_bandgap_read_temperature(9) β yes that's the whole title, we're being official today π
π‘οΈ NAME
ti_bandgap_read_temperature β literally just report the current temperature, that's it, that's the whole gig π
π¦ SYNOPSIS
int ti_bandgap_read_temperature (struct ti_bandgap *bgp , int id , int
*temperature );
like, you hand it a bandgap, you hand it an id, you hand it a pointer and it fills the tea β
π ARGUMENTS
bgpβ pointer to the bandgap instance, aka the main character of this whole situation πΈidβ the sensor id, gotta know which sensor we're talking to, iykyktemperatureβ the resulting temperature goes here, that's the output, that's the payoff π«Ά
π RETURN
0 on success, or the proper error code if it's not giving 0 π β no cap, that's the whole return situation.
π₯ SEE ALSO
- Kernel file
./drivers/thermal/ti-soc-thermal/ti-bandgap.c ti_bandgap_readl(9)ti_bandgap_writel(9)macro to update bits.(9)ti_bandgap_power(9)ti_errata814_bandgap_read_temp(9)ti_bandgap_read_temp(9)ti_bandgap_talert_irq_handler(9)ti_bandgap_tshut_irq_handler(9)ti_bandgap_adc_to_mcelsius(9)ti_bandgap_validate(9)ti_bandgap_read_counter(9)ti_bandgap_read_counter_delay(9)ti_bandgap_read_update_interval(9)ti_bandgap_write_counter_delay(9)ti_bandgap_write_counter(9)ti_bandgap_write_update_interval(9)ti_bandgap_set_sensor_data(9)ti_bandgap_get_sensor_data(9)ti_bandgap_force_single_read(9)ti_bandgap_set_continuous_mode(9)ti_bandgap_get_trend(9)ti_bandgap_tshut_init(9)ti_bandgap_talert_init(9)ti_bandgap_build(9)
like, the whole friend group showed up to the function list, we love a supportive cast πβ
mwah π that's the page β brought to you from ./drivers/thermal/ti-soc-thermal, dated October 2026, in all its ti_bandgap_read_temperature(9) glory. stay cozy, stay thermal, 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