crc16.h(3)

πŸ“¦ version 2.2.1, in fedora 43, fedora 44, opensuse-leap 16.0

🌸 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 a uint16_t __crc and a uint8_t __data, hands you back a uint16_t. The main character 16-bit one, honestly. ⭐
  • _crc_xmodem_update β€” same energy, same uint16_t __crc + uint8_t __data in, uint16_t out, but she's the xmodem flavored one. she said "I'm built different." πŸ’–
  • _crc_ccitt_update β€” again uint16_t __crc and uint8_t __data walk in, uint16_t walks out. the ccitt one. iconic name, no notes. ✨
  • _crc_ibutton_update β€” different shape bestie, heads up! this one is uint8_t __crc plus uint8_t __data and gives you a uint8_t back. eight-bit girlie, ibutton edition. πŸ¦‹
  • _crc8_ccitt_update β€” also the small one: uint8_t __crc, uint8_t __data, returns uint8_t. the crc8 ccitt 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