crc16.h(3)
πΈ NAME πΈ
crc16.h β bestie, it's the header, that's the whole name, and she's an avr-libc girlie living in section 3 (library functions, iykyk). That's it. That's the name. Short queen behavior. π
β¨ SYNOPSIS β¨
π Functions π
okay so here's the whole cast, and every single one of them is static __inline__, no cap:
static __inline__ uint16_t _crc16_update (uint16_t __crc, uint8_t
__data)
static __inline__ uint16_t _crc_xmodem_update (uint16_t __crc, uint8_t
__data)
static __inline__ uint16_t _crc_ccitt_update (uint16_t __crc, uint8_t
__data)
static __inline__ uint8_t _crc_ibutton_update (uint8_t __crc, uint8_t
__data)
static __inline__ uint8_t _crc8_ccitt_update (uint8_t __crc, uint8_t
__data)
let's do a little roll call so you know who's who π«Ά
_crc16_updateβ takes auint16_t __crcand auint8_t __data, hands you back auint16_t. The main character 16-bit one, honestly. β_crc_xmodem_updateβ same energy, sameuint16_t __crc+uint8_t __datain,uint16_tout, but she's the xmodem flavored one. she said "I'm built different." π_crc_ccitt_updateβ againuint16_t __crcanduint8_t __datawalk in,uint16_twalks out. the ccitt one. iconic name, no notes. β¨_crc_ibutton_updateβ different shape bestie, heads up! this one isuint8_t __crcplusuint8_t __dataand gives you auint8_tback. eight-bit girlie, ibutton edition. π¦_crc8_ccitt_updateβ also the small one:uint8_t __crc,uint8_t __data, returnsuint8_t. thecrc8ccitt vibe. πΈ
not me listing all five and not skipping a single one because I would NEVER π every signature stays exactly as written, don't touch a character.
π Author π
ngl, this page wasn't handwritten by a person with feelings β it was Generated automatically by Doxygen for avr-libc from the source code. so if you wanted a name to @, there isn't one. the robot did it. slay, robot. π€π
and that's the whole page babes, we ate and left no crumbs π this one's from avr-libc, version 2.1.0, dated Sat Jan 29 2022 β ty for coming to my ted talk, ily, go call _crc16_update on somebody ππ¦β¨
π¦ where this page comes from
- fedora 43: avr-libc 2.2.1-3.fc43 Β· BSD-3-Clause
- fedora 44: avr-libc 2.2.1-5.fc44 Β· BSD-3-Clause
- opensuse-leap 16.0: avr-libc 2.1.0-bp160.1.33 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms