ads112c14_i2c_read_bytes(9)
π ads112c14_i2c_read_bytes β the Kernel API Manual moment π
okay so bestie, we're in the kernel API manual (that's the manual name, bestie, it's literally right there in the header) and this page is all about one function: ads112c14_i2c_read_bytes. It's giving "read bytes off the device over I2C" and honestly? iconic.
β¨ NAME β¨
ads112c14_i2c_read_bytes β Read bytes from the device over I2C π¦
πΈ SYNOPSIS πΈ
int ads112c14_i2c_read_bytes (struct i2c_client *client , u8 cmd , u8
*buf , u8 len , bool use_crc );
no cap, that's the whole signature, copy it exactly bestie π
π ARGUMENTS π
clientβ the I2C client for the device π«Ά like, who we're talking to, basically.cmdβ the command we send to the device before reading. yes, before. we're polite like that β¨bufβ the buffer where the read bytes get stashed. your little byte hotel π¨lenβ how many bytes to read. the count, the vibe check, the amount πuse_crcβ whether to use CRC8 for the data integrity check.true= we're checking,false= we're living dangerously (jk, it's just off) π
π DESCRIPTION π
It's lowkey simple: if I2C_CRC is enabled, you can set use_crc to true and it'll perform a CRC8 check on the received data. that's the whole tea ββ¨
fr fr though β that CRC8 check only happens whenI2C_CRCis enabled, so don't go thinkinguse_crc = truedoes anything magical if it isn't. the manpage said what it said π
π¦ SEE ALSO π¦
- Kernel file
./drivers/iio/adc/ti-ads112c14.cπ ads112c14_regmap_bus_read(9)β read bestie energyads112c14_regmap_bus_write(9)β write bestie energy
okay that's the whole page, mwah π and for the cute sign-off: this beauty lives under ./drivers/iio/adc, dated October 2026 β main character source-and-version energy, periodt ππ
π¦ 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