cm3232_write_als_it(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ cm3232_write_als_it(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– this little icon is all about writing the sensor integration time, and it is genuinely serving kernel-doc realness.


🌸 NAME 🌸

cm3232_write_als_it β€” Write sensor integration time πŸŽ€

✨ SYNOPSIS ✨

int cm3232_write_als_it (struct cm3232_chip *chip , int val , int val2
       );

πŸ’– ARGUMENTS πŸ’–

  • chip β€” pointer of struct cm3232_chip. yes, it's that chip pointer, no cap 🫢
  • val β€” integration time in second. literally the second part of the time value ⭐
  • val2 β€” integration time in microsecond. the tiny-time bestie πŸ¦‹

πŸ¦‹ DESCRIPTION πŸ¦‹

Convert integration time to sensor value. that's the whole plot, and it ate πŸ’…βœ¨

πŸ”₯ RETURN πŸ”₯

The return value is the i2c_smbus_write_byte_data command return value. periodt. πŸ”₯

πŸŽ€ SEE ALSO πŸŽ€


and that's the page, bestie πŸ’œ the footer is giving source/version ./drivers/iio/light and date October 2026, so we close with that exact vibe: ./drivers/iio/light, October 2026 πŸŒˆπŸŽ€

πŸ“¦ where this page comes from