crc.h 312 B

12345678910111213141516171819202122
  1. /*
  2. * File: crc.h
  3. * Author: eduard.soltuzu
  4. *
  5. * Created on October 2, 2015, 10:48 AM
  6. */
  7. #ifndef CRC_H
  8. #define CRC_H
  9. #include <stdint.h>
  10. //
  11. // The CRC16 function
  12. // pucFrame --> data for CRC calculation
  13. // usLen --> length of data
  14. uint16_t CRC16( uint8_t * pucFrame, uint16_t usLen );
  15. #endif