ti_bandgap_read_counter(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 this int *, measured in miliseconds (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 πŸ‘€

xoxo πŸ’– source/version: ./drivers/thermal/ti-soc-thermal, date: October 2026, still serving ti_bandgap_read_counter(9) realness 🌈

πŸ“¦ where this page comes from