ad7944_convert_and_acquire(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ ad7944_convert_and_acquire(9) ✨

okay so bestie, this page is from the Kernel API Manual, and it's literally about doing one sample, one conversion πŸ’…

πŸ’– NAME πŸ’–

ad7944_convert_and_acquire β€” Perform a single conversion and acquisition

✨ SYNOPSIS ✨

int ad7944_convert_and_acquire (struct ad7944_adc *adc );

πŸŽ€ ARGUMENTS πŸŽ€

  • adc β€” The ADC device structure 🫢

🌸 RETURN 🌸

  • 0 on success ✨
  • a negative error code on failure 😭

πŸ¦‹ DESCRIPTION πŸ¦‹

The whole vibe: perform a conversion and acquisition of a single sample using the pre-optimized adc->msg. No cap, that's the function's main-character move πŸ‘‘

Upon successful return, adc->sample.raw will contain the conversion result β€” or adc->chain_mode_buf if the device is using chain mode. Either way, data acquired, bestie πŸ’–

🌈 SEE ALSO 🌈


cute sign-off time πŸŽ€: source/version ./drivers/iio/adc, date October 2026, and page ad7944_convert_and_acquire(9) β€” that's the footer tea, periodt πŸ’‹

πŸ“¦ where this page comes from