Logo
Explore Help
Sign In
lammertb/libcrc
1
0
Fork 0
You've already forked libcrc
mirror of https://github.com/lammertb/libcrc.git synced 2025-10-14 01:59:00 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
master
libcrc/APIReference.md
Lammert Bies 85756a691a Added missing doc link
2016-12-17 01:41:27 +01:00

1.5 KiB
Raw Permalink Blame History

#Libcrc API Reference

Libcrc is a library to calculate various checksums of data blobs. The library is written in C and can be compiled with any modern C compiler. The API to the library is described in this document.

Constants

  • CRC start values
  • CRC polynomials

Functions

  • checksum_NMEA( input_str, result );
  • crc_8( input_str, num_bytes );
  • crc_16( input_str, num_bytes );
  • crc_32( input_str, num_bytes );
  • crc_64_ecma( input_str, num_bytes );
  • crc_64_we( input_str, num_bytes );
  • crc_ccitt_1d0f( input_str, num_bytes );
  • crc_ccitt_ffff( input_str, num_bytes );
  • crc_dnp( input_str, num_bytes );
  • crc_kermit( input_str, num_bytes );
  • crc_modbus( input_str, num_bytes );
  • crc_sick( input_str, num_bytes );
  • crc_xmodem( input_str, num_bytes );
  • update_crc_8( crc, c );
  • update_crc_16( crc, c );
  • update_crc_32( crc, c );
  • update_crc_64( crc, c );
  • update_crc_ccitt( crc, c );
  • update_crc_dnp( crc, c );
  • update_crc_kermit( crc, c );
  • update_crc_sick( crc, c, prev_byte );
Powered by Gitea Version: 1.24.6 Page: 311ms Template: 76ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API