zpa2326_start_oneshot(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 zpa2326_start_oneshot(9) 🌸

okay bestie, so you're reading the Kernel API Manual and you've stumbled onto this little function: zpa2326_start_oneshot β€” yes, the (9) means it's kernel-doc territory, welcome to the club πŸ’…


✨ NAME ✨

zpa2326_start_oneshot β€” start a single sampling cycle, like, one shot mode. no cap, that's the whole vibe. 🎯


πŸ¦‹ SYNOPSIS πŸ¦‹

int zpa2326_start_oneshot (const struct iio_dev *indio_dev );

πŸŽ€ ARGUMENTS πŸŽ€

  • indio_dev β€” the IIO device that's linked up with the sampling hardware. that's your main character right there 🫢

πŸ’– DESCRIPTION πŸ’–

so the device has to be previously enabled and configured for one shot mode β€” like, you can't just roll up and expect it to work, it needs that setup first, fr fr. then once the cycle wraps up, the device gets switched back to low power mode at the end of the cycle. she rests, she chills, she conserves energy. πŸŒ™βœ¨


πŸ”₯ RETURN πŸ”₯

Zero when successful πŸŽ‰ β€” and a negative error code otherwise 😭 (iykyk, negative means something went wrong, check it).


πŸ‘‘ SEE ALSO πŸ‘‘

kernel file ./drivers/iio/pressure/zpa2326.c β€” and honestly the whole squad:


🧚 little reminder bestie: this page lives in ./drivers/iio/pressure, dated October 2026, and it's serving zpa2326_start_oneshot(9) energy from the Kernel API Manual. go forth and sample responsibly πŸ’œπŸŒˆ

πŸ“¦ where this page comes from