ads112c14_regmap_bus_write(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ads112c14_regmap_bus_write(9) πŸ’…

okay so welcome to the Kernel API Manual bestie, we're literally about to learn how to write a register to the device πŸŽ€ no cap, this one's a little function with a big job.


✨ NAME ✨

ads112c14_regmap_bus_write β€” write a register to the device 🌸 that's it, that's the whole vibe check.


πŸ¦‹ SYNOPSIS πŸ¦‹

int ads112c14_regmap_bus_write (void *context , const void *data_buf ,
size_t count );

πŸ’– ARGUMENTS πŸ’–

  • context β€” pointer to the device context 🫢 like, the whole identity of the device, main character energy.
  • data_buf β€” buffer containing the register address and value to write ✨ it's giving "address plus the actual tea" β€” both live in here.
  • count β€” number of bytes to write πŸ”’ literally just how many bytes we're sending.

⭐ DESCRIPTION ⭐

so this is a custom regmap write function πŸ‘‘ and it does the extra-est thing: it also does a readback with CRC check of nonvolatile registers when CRC is enabled πŸ’… like, it writes, then it double-checks the nonvolatile registers with CRC β€” obsessed with accuracy fr fr.

ngl the CRC readback part only kicks in when CRC is enabled β€” that's the condition, don't forget it πŸ’€

🌈 SEE ALSO 🌈


k bye bestie, this page lives in ./drivers/iio/adc and the version/date on it is October 2026 β€” mwah, go write some registers responsibly πŸ˜­πŸ’œ

πŸ“¦ where this page comes from