STRUCT ADIS16400_STATE(9)
π¦ 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, iykykfilt_intβ the integer part of requested filter frequency β literally just the integer part, not the messy decimals, we keep it cleanadisβ theadisdevice π«Ά the actual device struct itself, main character energyavail_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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms