diff options
Diffstat (limited to 'include/crc.h')
-rw-r--r-- | include/crc.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/crc.h b/include/crc.h new file mode 100644 index 0000000000..ac0ffa5ba8 --- /dev/null +++ b/include/crc.h @@ -0,0 +1,24 @@ +/*****************************************************************************/ +/* + CRC 16 Calculate Interface + +*/ +/*****************************************************************************/ + +#ifndef _CRC_H_ +#define _CRC_H_ + + /* ---- + F U N C T I O N S + */ +#if __cplusplus +extern "C" +{ +#endif + +uint16_t calc_crc(void *data, uint32_t count); + +#if __cplusplus +} +#endif +#endif |