cm3232_get_lux(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to the Kernel API Manual page for cm3232_get_lux(9) β€” it reports the current lux value. iconic behavior, honestly. πŸ’…

✨ SYNOPSIS ✨

int cm3232_get_lux (struct cm3232_chip *chip );

πŸŽ€ ARGUMENTS πŸŽ€

  • chip β€” pointer of struct cm3232_chip. That's the whole vibe. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

It converts sensor data to lux. The result depends on the integration time and the calibscale variable. no cap, that's the whole description, and it's lowkey important. ✨

🌸 RETURN 🌸

Zero or positive value is lux; otherwise, it's an error code. so if you get a non-negative number, that's your lux, and if not, it's giving error. 😭

🌈 SEE ALSO 🌈

Kernel file ./drivers/iio/light/cm3232.c plus these absolute icons:


πŸ’… signed off with source/version ./drivers/iio/light and the date October 2026 β€” cm3232_get_lux(9) out, periodt. 🫢

πŸ“¦ where this page comes from