STRUCT ADIS16400_STATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ NAME πŸ¦‹

struct adis16400_state β€” bestie, it's the device instance specific data ✨ like it literally holds the per-device vibes for this one sensor instance, no cap πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

okay so here's the whole struct, and yes you're gonna read it, it's icon behavior:

struct adis16400_state {
    const struct adis16400_chip_info *variant;
    int filt_int;
    struct adis adis;
    unsigned long avail_scan_mask[2];
 };

πŸ’– Members πŸ’–

  • variant β€” the chip variant info 🧚 like which flavor of chip we're dealing with, iykyk
  • filt_int β€” the integer part of requested filter frequency ⭐ literally just the integer part, not the messy decimals, we keep it clean
  • adis β€” the adis device 🫢 the actual device struct itself, main character energy
  • avail_scan_mask β€” a NULL terminated array of bitmaps of channels that must be enabled together πŸ”₯ so if you want one of these channels you're getting the whole squad, they come as a package deal, no solo runs πŸ’€

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/iio/imu/adis16400.c β€” go read the source bestie, it's right there πŸ‘‘

and that's the whole page!! 🌸 this lil beauty lives in ./drivers/iio/imu and the version is dated October 2026, so like, mark your calendar πŸ“…πŸ’œ slay, you understood it, periodt βœ¨πŸŽ€

πŸ“¦ where this page comes from