STRUCT ST_SENSOR_DAS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so welcome to the struct st_sensor_das(9) page in the Kernel API Manual, bestie πŸ’– This one is literally the ST sensor device data alignment selection struct β€” tiny struct energy, no cap: just two u8 members, addr and mask, and they are both doing their little iconic jobs. πŸŽ€

🌸 SYNOPSIS 🌸

here's the exact shape, bestie:

struct st_sensor_das {
    u8 addr;
    u8 mask;
};

πŸŽ€ Members πŸŽ€

two members, two jobs, both slay:

  • addr β€” address of the register. yep, it's the register's address, periodt.
  • mask β€” mask to write the das flag for left alignment. so this is the mask for writing that das flag when you're doing left alignment, fr fr.

πŸ¦‹ SEE ALSO πŸ¦‹

go look at these when you're done, iykyk:

  • Kernel file ./include/linux/iio/common/st_sensors.h
  • struct st_sensor_bdu(9)
  • struct st_sensor_int_drdy(9)
  • struct st_sensor_data_ready_irq(9)
  • struct st_sensor_settings(9)
  • struct st_sensor_data(9)

πŸ’– and that's the whole manual page, bestie β€” source/version footer: ./include/linux/iio/common Β· October 2026 Β· struct st_sensor_das(9) πŸ’…

πŸ“¦ where this page comes from