ad_sd_reset(9)
π ad_sd_reset β like, the kernel API manual, but make it cute
okay so bestie, welcome to ad_sd_reset(9) from the Kernel API Manual β yes that's the manual section, no we're not gonna act normal about it π«Ά
β¨ NAME β¨
ad_sd_reset β reset the serial interface, periodt π«
π SYNOPSIS π
int ad_sd_reset (struct ad_sigma_delta *sigma_delta );
that's the whole vibe. one function, one argument, one int coming back atcha πΈ
π¦ ARGUMENTS π¦
sigma_deltaβ the sigma delta device π that's the one and only thing you're handing over, and yes it's astruct ad_sigma_delta *, iykyk
π₯ DESCRIPTION π₯
so like, what does it actually do? it resets the serial interface. that's the whole plot π¬
and then it tells you how it went:
- returns
0on success β¨ - returns an error code otherwise π (not me getting a nonzero back)
no cap, that's it β those are the facts and I'm not adding lore that isn't there π
π SEE ALSO π
the kernel file lives at ./drivers/iio/adc/ad_sigma_delta.c β go be nosy, bestie π and while you're at it, the whole friend group:
ad_sd_set_comm(9)ad_sd_write_reg(9)ad_sd_read_reg(9)ad_sd_calibrate_all(9)ad_sigma_delta_single_conversion(9)ad_sd_validate_trigger(9)devm_ad_sd_setup_buffer_and_trigger(9)ad_sd_init(9)
literally the entire squad, all cross-referenced, all iconic π
quick reminder: reset the serial interface, check the return value, don't ignore a nonzero. main character energy includes error handling π§
aaand that's the page! sourced from ./drivers/iio/adc and dated October 2026 β mwah, tysm for reading, slay πππ
π¦ 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