zpa2326_postenable_buffer(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

zpa2326_postenable_buffer β€” configure the device for triggered sampling, bestie πŸ’–


✨ SYNOPSIS ✨

int zpa2326_postenable_buffer (struct iio_dev *indio_dev);

✨ ARGUMENTS ✨

  • indio_dev β€” the IIO device that's linked to the sampling hardware, okay? 🫢

✨ DESCRIPTION ✨

Okay so basically, this function sets up one-shot mode when you're plugging in an external trigger. No external trigger? Then it just lets the internal trigger configure continuous sampling β€” you can peek at zpa2326_set_trigger_state for that whole vibe. ✨

If an error gets returned, the IIO layer will call our postdisable hook for us, so like, no need to explicitly power the device off here. (Slay, honestly.) πŸ’…

Called with the IIO device's lock held. πŸ”’

(Called with the IIO device's lock held β€” yes, that's a thing, don't forget it! 😭)


✨ RETURN ✨

Zero when it's all good πŸ‘‘, or a negative error code if something's off. πŸ’€


✨ SEE ALSO ✨


This page is from ./drivers/iio/pressure, October 2026. Bye bestie! πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from