adxrs450_spi_read_reg_16(9)
π NAME π
adxrs450_spi_read_reg_16(9) β read 2 bytes from a register pair
Okay bestie, welcome to the Kernel API Manual page for adxrs450_spi_read_reg_16 π
the manual name is folded in right here, cute and done. This functionβs whole thing is reading 2 bytes from a register pair. Periodt. β¨
π SYNOPSIS π
int adxrs450_spi_read_reg_16 (struct iio_dev *indio_dev , u8 reg_address
, u16 *val );
π¦ ARGUMENTS π¦
indio_devβ the device associated with a child of the actualiio_dev. π«Άreg_addressβ the address of the lower of the two registers. It should be an even address, and the second registerβs address isreg_address + 1. No cap, that even-address detail matters. πΈvalβ somewhere to pass back the value that was read. Literally just a place for the read value to land. π
π SEE ALSO π
- Kernel file
./drivers/iio/gyro/adxrs450.c struct adxrs450_state(9)adxrs450_spi_write_reg_16(9)adxrs450_spi_sensor_data(9)adxrs450_spi_initial(9)
Thatβs the vibe check, bestie π sign-off time: source/version ./drivers/iio/gyro π date October 2026 π page adxrs450_spi_read_reg_16(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