cm3232_get_lux(9)
π 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 ofstruct 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
- 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