ENUM IIO_SIMPLE_DUMMY_SCAN_ELEMENTS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– enum iio_simple_dummy_scan_elements πŸ’–

okay bestie, so this is a page straight out of the Kernel API Manual β€” like, kernel-kernel, no cap. it's about the enum iio_simple_dummy_scan_elements, and honestly? it's giving "small but mighty" energy. let's get into it 🫢


✨ NAME ✨

enum iio_simple_dummy_scan_elements β€” the scan index enum. that's it, that's the whole vibe check: it's an enum, and it's here to give you scan indexes. πŸŽ€


🌸 SYNOPSIS 🌸

enum iio_simple_dummy_scan_elements {
    DUMMY_INDEX_VOLTAGE_0 ,
    DUMMY_INDEX_DIFFVOLTAGE_1M2 ,
    DUMMY_INDEX_DIFFVOLTAGE_3M4 ,
    DUMMY_INDEX_ACCELX

};

like, look at her. four constants, one tidy little enum, zero drama ✨


πŸ¦‹ Constants πŸ¦‹

okay so these are the members, and each one has a job. main character energy, every single one:

  • DUMMY_INDEX_VOLTAGE_0 β€” the single ended voltage channel πŸ’… that's literally what it is.
  • DUMMY_INDEX_DIFFVOLTAGE_1M2 β€” the first differential channel. she's first, she knows it.
  • DUMMY_INDEX_DIFFVOLTAGE_3M4 β€” the second differential channel 🌈 yes bestie, they're numbered, keep up.
  • DUMMY_INDEX_ACCELX β€” the acceleration channel πŸ”₯ accel X, in the house.

πŸ’œ Description πŸ’œ

so what's the point of this enum, you ask? it's giving convenience. the enum provides convenient numbering for the scan index β€” that's the entire flex. no hidden lore, no secret behavior, just nice clean numbering so nobody's out here hardcoding magic numbers like a menace 😭


πŸ‘‘ SEE ALSO πŸ‘‘

  • the kernel file ./drivers/iio/dummy/iio_simple_dummy.h β€” go read it, it's the source of truth 🧚
  • struct iio_dummy_state(9) β€” the struct that's lowkey connected to all this

okay that's the whole page, bestie, you ate it up πŸ’– this came from ./drivers/iio/dummy, dated October 2026, and it's page enum iio_si...can_elements(9) of the Kernel API Manual β€” go forth and index your scans, periodt 🌟

πŸ“¦ where this page comes from