sx_common_read_proximity(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to sx_common_read_proximity(9) from the Kernel API Manual β€” this one is literally all about reading a raw proximity value. no cap, that's the whole name vibe.

✨ SYNOPSIS ✨

int sx_common_read_proximity (struct sx_common_data *data , const struct
iio_chan_spec *chan , int *val );

πŸŽ€ ARGUMENTS πŸŽ€

  • data β€” Internal data. the internal data situation, iykyk.
  • chan β€” Channel to read. literally the channel you're reading.
  • val β€” pointer to return read value. a pointer where the read value comes back.

πŸ¦‹ DESCRIPTION πŸ¦‹

So the way this works: it requests a conversion, waits for the sensor to be ready, and then returns the raw proximity value. that's it, that's the arc πŸ’… β€” request, wait, return raw. iconic behavior fr fr.

🌈 SEE ALSO 🌈


and that's the page, bestie 🫢 this one comes from ./drivers/iio/proximity, dated October 2026, and the page is sx_common_read_proximity(9). bye πŸ’–

πŸ“¦ where this page comes from