zpa2326_start_oneshot(9)
πΈ 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:
ZPA2326 theory of operations(9)struct zpa2326_frequency(9)struct zpa2326_private(9)zpa2326_enable_device(9)zpa2326_sleep(9)zpa2326_reset_device(9)zpa2326_power_on(9)zpa2326_power_off(9)zpa2326_config_oneshot(9)zpa2326_clear_fifo(9)zpa2326_dequeue_pressure(9)zpa2326_fill_sample_buffer(9)zpa2326_resume(9)zpa2326_suspend(9)zpa2326_handle_irq(9)zpa2326_handle_threaded_irq(9)zpa2326_wait_oneshot_completion(9)zpa2326_poll_oneshot_completion(9)zpa2326_fetch_raw_sample(9)zpa2326_sample_oneshot(9)zpa2326_trigger_handler(9)zpa2326_preenable_buffer(9)zpa2326_postenable_buffer(9)zpa2326_set_trigger_state(9)zpa2326_init_managed_trigger(9)
π§ little reminder bestie: this page lives in./drivers/iio/pressure, dated October 2026, and it's servingzpa2326_start_oneshot(9)energy from the Kernel API Manual. go forth and sample responsibly ππ
π¦ 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