ad_sd_read_reg(9)
okay so bestie, you're looking at ad_sd_read_reg(9) from the Kernel API Manual, and it's literally the tiny helper that reads a register. cute, useful, lowkey iconic. πβ¨
πΈ NAME πΈ
ad_sd_read_reg β Read a register
β¨ SYNOPSIS β¨
int ad_sd_read_reg (struct ad_sigma_delta *sigma_delta , unsigned int
reg , unsigned int size , unsigned int *val );
π ARGUMENTS π
sigma_deltaβ The sigma delta device. that's the main character here. πregβ Address of the register. where we're going, bestie. πsizeβ Size of the register (1-4). yes, the range is literally1-4. π―valβ Read value. the lil result holder. π«Ά
π« DESCRIPTION π«
Returns 0 on success, an error code otherwise. periodt. that's the whole vibe check: success gives you 0, and anything else is an error code. π
π¦ SEE ALSO π¦
Kernel file ./drivers/iio/adc/ad_sigma_delta.c β go peek at the source, bestie. π§
ad_sd_set_comm(9)ad_sd_write_reg(9)ad_sd_reset(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)
mwah π this cutie is from ./drivers/iio/adc, dated October 2026, and the manual name is ad_sd_read_reg(9). 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