ti_bandgap_read_temperature(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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, iykyk
  • temperature β€” 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

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