User Manual
Hypersen Technologies Co., Ltd. HPS-3D160
November 2018 Rev 1.1 16 / 16
USIGN16 Calc_CRC16(const USIGN8 *buf, const USIGN32 len)
{
USIGN32 i;
USIGN16 cksum;
cksum = 0xffff;
for (i = 0; i < len; i++) {
cksum = crc16_tab[((cksum>>8) ^ *buf++) & 0xFF] ^ (cksum << 8);
}
return cksum;
}
/*--------------------------------The End of File-----------------------------*/
Ne:
The SDK i aaiabe, eae cac ae@hee.c f e ifai.
IMPORTANT NOTICE PLEASE READ CAREFULLY
Hypersen Technologies Co., Ltd. reserve the right to make changes, corrections, enhancements, modifications, and improvements
to Hypersen products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information
on Hypersen products before placing orders. Hypersen products are sold pursuant to Hee terms and conditions of sale in
place at the time of order acknowledgement.
Purchasers are solely responsible for the choice, selection, and use of Hypersen products and Hypersen assumes no liability for
application assistance or he deig f Pchae dc.
No license, express or implied, to any intellectual property right is granted by Hypersen herein.
Resale of Hypersen products with provisions different from the information set forth herein shall void any warranty granted by
Hypersen for such product.
Hypersen and the Hypersen logo are trademarks of Hypersen. All other product or service names are the property of their
respective owners.
Information in this document supersedes and replaces information previously supplied in any prior versions of this document.
© 2018 Hypersen Technologies Co., Ltd. All rights reserved










