cm32181_write_als_it(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cm32181_write_als_it(9)

okay so bestie, this is a Kernel API Manual page and it's literally all about writing the sensor integration time. icon behavior only, no cap ✨

πŸ“› NAME

cm32181_write_als_it β€” Write sensor integration time.

✨ SYNOPSIS

int cm32181_write_als_it (struct cm32181_chip *cm32181 , int val );

🫢 ARGUMENTS

  • cm32181 β€” pointer of struct cm32181.
  • val β€” integration time by millisecond.

πŸ¦‹ DESCRIPTION

Convert integration time (ms) to sensor value. That's the whole vibe: milliseconds go in, sensor value comes out πŸ’«

πŸ’– RETURN

It returns the i2c_smbus_write_word_data command return value. periodt.

🌈 SEE ALSO

Kernel file ./drivers/iio/light/cm32181.c β€” plus the whole function crew: cm32181_acpi_get_cpm(9), cm32181_reg_init(9), cm32181_read_als_it(9), cm32181_get_lux(9), cm32181_get_it_available(9) 🫢


mwah πŸ’‹ this page's source/version is ./drivers/iio/light, and the date on it is October 2026 🌸

πŸ“¦ where this page comes from