Implementation of CRC16 using polynomial 0x8005 - (X^16 X^15 X^2 1). Blu.

Dependents:   APP4

Fork of CRC16 by Emilie Laverge

Committer:
vinbel93
Date:
Mon Feb 22 22:44:45 2016 +0000
Revision:
1:d5df46e8875d
Parent:
0:585ead300cab
Statification du CRC pour la compatibilisation du CRC avec les MEFS. Blu.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
EmLa 0:585ead300cab 1 #ifndef CRC16_H
EmLa 0:585ead300cab 2 #define CRC16_H
EmLa 0:585ead300cab 3
EmLa 0:585ead300cab 4 class CRC16
EmLa 0:585ead300cab 5 {
vinbel93 1:d5df46e8875d 6 public:
vinbel93 1:d5df46e8875d 7 static unsigned short calculateCRC16(char input[], int lenght);
EmLa 0:585ead300cab 8 };
EmLa 0:585ead300cab 9 #endif