/**
 * \file    crc16.h
 * \brief   CRC16 header file
 *
 * \par     Copyright (c) 2018 UWE Technologies Corp., Ltd. All Rights Reserved.
 * \author  James
 * \date    2018-03-05
 * \version 
 * 
 * \history 
 *  Date        Note
 *  2018-03-05  Original Creation
 * 
 */

#ifndef __CRC16_H_
#define __CRC16_H_

unsigned short crc16_ccitt(const unsigned char *buf, int len);

unsigned short crc16_ccitt_add(register unsigned short init,const unsigned char *buf, int len);

#endif  /* #ifndef __XMODEM_H_ */
