IIO_DIFF_EVENT_CODE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… IIO_DIFF_EVENT_CODE(9) β€” the Kernel API Manual chapter bestie actually needs

okay so picture this: you're deep in ./include/linux/iio territory, it's the Kernel API Manual, and you need an event identifier for differential channels. That's the whole assignment. This macro is the one who does it. No cap. πŸŽ€


✨ NAME ✨

IIO_DIFF_EVENT_CODE β€” literally just creates the event identifier for differential channels. That's her only job and she's iconic for it. πŸ’–


🌸 SYNOPSIS 🌸

IIO_DIFF_EVENT_CODE (chan_type , chan1 , chan2 , type , direction );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • chan_type β€” the type of the channel, babes. It should be one of enum iio_chan_type. 🫢
  • chan1 β€” first channel number, for differential channels specifically. πŸ“
  • chan2 β€” second channel number, also for differential channels. She comes as a pair with chan1, iykyk. ✨
  • type β€” the type of the event. Should be one of enum iio_event_type. πŸ’œ
  • direction β€” the direction of the event, and it's one of enum iio_event_direction. Pick one, bestie, don't just vibe. πŸ’…

πŸ”₯ SEE ALSO πŸ”₯


ngl the sibling macros are right there in the same header β€” go say hi to them, they're all main character energy in their own way. πŸ‘‘

and that's the whole page, periodt 🧚 β€” brought to you from ./include/linux/iio, dated October 2026, filed under the IIO_DIFF_EVENT_CODE(9) girlies. slay, go write some event codes πŸ’€πŸ’–

πŸ“¦ where this page comes from