ad_sd_write_reg(9)
ad_sd_write_reg(9) π
okay so bestie, we're in the Kernel API Manual and this page is literally about ad_sd_write_reg. no cap, it does exactly what it says: writes a register. π
β¨ NAME β¨
ad_sd_write_reg β write a register. π
πΈ SYNOPSIS πΈ
int ad_sd_write_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 right there.regβ address of the register. literally where we're going.sizeβ size of the register (0-3). yep, the range is0-3, don't forget it.valβ value to write to the register. the stuff going in. β¨
π DESCRIPTION π
Returns 0 on success, an error code otherwise. fr fr, that's the whole return vibe: 0 = slay, anything else = an error code. π«Ά
π SEE ALSO π
Kernel file ./drivers/iio/adc/ad_sigma_delta.c, plus these besties: ad_sd_set_comm(9), ad_sd_read_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 page came from ./drivers/iio/adc, dated October 2026, and it's ad_sd_write_reg(9) β periodt. π
π¦ 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