IIO_DEV_ATTR...P_FREQ_AVAIL(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… IIO_DEV_ATTR...P_FREQ_AVAIL(9) πŸ’…

okay so this is a page straight outta the Kernel API Manual, bestie β€” like, the actual kernel docs, not a vibe. it's short, it's sweet, and it's about listing the sampling frequencies your device can do. let's get into it ✨


πŸŽ€ NAME πŸŽ€

IIO_DEV_ATTR_SAMP_FREQ_AVAIL β€” literally just list available sampling frequencies. that's the whole gig. no cap πŸ’–


🌸 SYNOPSIS 🌸

IIO_DEV_ATTR_SAMP_FREQ_AVAIL (_show );

that's it. that's the macro. it takes exactly one thing and we're about to talk about it πŸ¦‹


✨ ARGUMENTS ✨

  • _show β€” the output method for the attribute. yeah, it's the thing that gets called to spit the values out. the show-er, if you will πŸ™ˆ

πŸ’œ DESCRIPTION πŸ’œ

this macro sets you up so the attribute can list out which sampling frequencies are available. and here's the lil caveat, so listen up: it may be mode dependent on some devices πŸ‘€ β€” meaning don't come for it if the list changes depending on what mode your device is in. that's allowed. that's valid. periodt.


🫢 SEE ALSO 🫢

like, go read these next, fr fr:

all icon behavior, honestly 🌈


lowkey important: this page is living in ./include/linux/iio and it's dated October 2026 β€” so if you're reading it in some other timeline, hi, welcome, the kernel is still doing kernel things πŸ’€

anyway bestie that's the whole page β€” mwah, go read your sysfs files, slay πŸ’…πŸ’–βœ¨

πŸ“¦ where this page comes from