atmel_i2c_checksum(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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