adis_write_reg_32(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– adis_write_reg_32(9) β€” like, the Kernel API Manual bestie era πŸ’–

okay so welcome to the adis_write_reg_32 page, straight out of the Kernel API Manual, and no cap this one is a little legend: it writes 4 bytes into four registers. four. registers. at once. it's giving multitasking icon behavior ✨


🌸 NAME 🌸

adis_write_reg_32 β€” write 4 bytes to four registers


πŸ¦‹ SYNOPSIS πŸ¦‹

int adis_write_reg_32 (struct adis *adis , unsigned int reg , u32 val );

πŸŽ€ ARGUMENTS πŸŽ€

  • adis β€” the adis device itself, your main character 🫢
  • reg β€” the address of the lower of the four registers (yes, the lower one β€” it takes it from there, iykyk)
  • val β€” the value to be written, the whole reason we're here πŸ’…

⭐ RETURN ⭐

0 on success, a negative error code otherwise. that's it, that's the vibe check 🌈

lowkey important: anything that isn't 0 is negative, and negative = it did not slay. check it, don't ignore it πŸ™ˆ

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./include/linux/iio/imu/adis.h

like, the whole friend group fr fr πŸ‘‘


okay that's the page!! mwah πŸ’‹ this little gem lives in ./include/linux/iio/imu, dated October 2026, in the Kernel API Manual β€” go read the rest of the squad, they're all iconic, periodt. πŸŽ€βœ¨πŸ’œ

πŸ“¦ where this page comes from