__adis_read_reg_16(9)
π NAME π
okay so bestie, this is the __adis_read_reg_16(9) page from the Kernel API Manual, and the whole vibe is: read 2 bytes from a 16-bit register (unlocked). That's the name, that's the mission, no cap. β¨
π SYNOPSIS π
int __adis_read_reg_16 (struct adis *adis , unsigned int reg , u16 *val
);
π¦ ARGUMENTS π¦
adisβ theadisdevice, obvi. main character energy.regβ the address of the lower of the two registers. yes, the lower one.valβ the value read back from the device. that's the tea. π
π₯ RETURN π₯
0 on success, a negative error code otherwise. periodt. π
π SEE ALSO π
the whole squad, fr fr:
- Kernel file
./include/linux/iio/imu/adis.h struct adis_data(9)struct adis_ops(9)struct adis(9)adis_reset(9)__adis_write_reg_8(9)__adis_write_reg_16(9)__adis_write_reg_32(9)__adis_read_reg_32(9)adis_write_reg(9)adis_read_reg(9)adis_write_reg_8(9)adis_write_reg_16(9)adis_write_reg_32(9)adis_read_reg_16(9)adis_read_reg_32(9)adis_update_bits_base(9)adis_update_bits(9)
okay that's the page, bestie π«Ά source/version: ./include/linux/iio/imu, date: October 2026, page: __adis_read_reg_16(9). mwah ππ
π¦ 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