IIO_DIFF_EVENT_CODE(9)
π 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 ofenum iio_chan_type. π«Άchan1β first channel number, for differential channels specifically. πchan2β second channel number, also for differential channels. She comes as a pair withchan1, iykyk. β¨typeβ the type of the event. Should be one ofenum iio_event_type. πdirectionβ the direction of the event, and it's one ofenum iio_event_direction. Pick one, bestie, don't just vibe. π
π₯ SEE ALSO π₯
- Kernel file
./include/linux/iio/events.h _IIO_EVENT_CODE(9)IIO_MOD_EVENT_CODE(9)IIO_UNMOD_EVENT_CODE(9)
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
- 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