atmel_i2c_checksum(9)
π atmel_i2c_checksum(9) π
okay so this is a Kernel API Manual page, bestie β section 9, main character energy, and we're talking about one tiny but iconic checksum function. no cap β¨
β¨ NAME β¨
atmel_i2c_checksum β generate a 16-bit CRC as required by ATMEL ECC. It's doing CRC16 verification of the count, opcode, param1, param2 and data bytes. The checksum is saved in little-endian format in the least significant two bytes of the command. The CRC polynomial is 0x8005, and the initial register value should be zero. periodt π
π¦ SYNOPSIS π¦
void atmel_i2c_checksum (struct atmel_i2c_cmd *cmd );
π ARGUMENTS π
cmdβ structure used for communicating with the device. that's the whole argument, bestie π«Ά
π₯ SEE ALSO π₯
- Kernel file
./drivers/crypto/atmel-i2c.cβ go look, iykyk π
mwah π source/version: ./drivers/crypto; date: October 2026; page: atmel_i2c_checksum(9) β bye bestie π«Ά
π¦ 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