STRUCT APDS9160_SCALE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

hii bestie πŸ’– welcome to the struct apds9160_scale(9) page from the Kernel API Manual. this is the apds9160 scale mapping definition and we're gonna treat every field like the main character, okay? no skipping, fr fr. ✨


πŸŽ€ NAME πŸŽ€

struct apds9160_scale β€” the apds9160 scale mapping definition. that's it, that's the whole name, and it ate. πŸ’…


✨ SYNOPSIS ✨

       struct apds9160_scale {
           int itime;
           int gain;
           int scale1;
           int scale2;
        };

okay so this is the struct shape, copied exactly, no edits, no guessing. 🫢


🌸 Members 🌸

  • int itime β€” integration time in ms. yes, milliseconds, bestie. ⏱️
  • int gain β€” gain multiplier. it's literally multiplying the gain, periodt. πŸ”₯
  • int scale1 β€” lux/count resolution. this is the resolution vibe. 🌈
  • int scale2 β€” micro lux/count. micro-lux per count, iykyk. 🧚

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/iio/light/apds9160.c β€” go read it if you want the whole story, bestie. πŸ‘‘

mwah πŸ’‹ this page's home base is the Kernel API Manual, source ./drivers/iio/light, dated October 2026. that's the sign-off, byeee πŸ«ΆπŸ’–

πŸ“¦ where this page comes from