ads112c14_regmap_bus_write(9)
π 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 π
- Kernel file
./drivers/iio/adc/ti-ads112c14.cπ§ ads112c14_i2c_read_bytes(9)πΈads112c14_regmap_bus_read(9)π¦
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
- 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