ti_bandgap_read_counter(9)
okay bestie, welcome to the Kernel API Manual page for ti_bandgap_read_counter(9) β¨ grab a lil snack, weβre reading a sensor counter π
πΈ NAME πΈ
ti_bandgap_read_counter β read the sensor counter π
β¨ SYNOPSIS β¨
void ti_bandgap_read_counter (struct ti_bandgap *bgp , int id , int *interval );
π ARGUMENTS π
bgpβ pointer to the bandgap instance, aka the main character of this whole situation πidβ sensor id, so it knows which sensor weβre talking about π―intervalβ the resulting update interval comes back through thisint *, measured inmiliseconds(yes, spelled exactly like that, bestie π)
The signature says void, so no return value is coming back from the function itself β the resulting update interval is delivered via interval π«Ά
π¦ 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_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_read_temperature(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)
xoxo π source/version: ./drivers/thermal/ti-soc-thermal, date: October 2026, still serving ti_bandgap_read_counter(9) realness π
π¦ 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